Minor fix on CommunityServiceImpl.java

Update methods should call clearModified.
This commit is contained in:
Mohamed Mohideen Abdul Rasheed
2018-03-29 15:46:02 -04:00
committed by GitHub
parent b05c94d0b4
commit 6d1b695ca5

View File

@@ -257,7 +257,7 @@ public class CommunityServiceImpl extends DSpaceObjectServiceImpl<Community> imp
if (community.isModified()) {
context.addEvent(new Event(Event.MODIFY, Constants.COMMUNITY, community.getID(), null,
getIdentifiers(context, community)));
community.setModified();
community.clearModified();
}
if (community.isMetadataModified()) {
context.addEvent(