mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 18:14:26 +00:00
[DS-694] Fix writing of modification information to Item
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5488 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -1718,6 +1718,7 @@ public class Item extends DSpaceObject
|
|||||||
modified = true;
|
modified = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (dublinCoreChanged || modified)
|
if (dublinCoreChanged || modified)
|
||||||
{
|
{
|
||||||
@@ -1749,13 +1750,6 @@ public class Item extends DSpaceObject
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (modified)
|
|
||||||
{
|
|
||||||
ourContext.addEvent(new Event(Event.MODIFY, Constants.ITEM, getID(), null));
|
|
||||||
modified = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private MetadataField getMetadataField(DCValue dcv) throws SQLException, AuthorizeException
|
private MetadataField getMetadataField(DCValue dcv) throws SQLException, AuthorizeException
|
||||||
{
|
{
|
||||||
return MetadataField.findByElement(ourContext,
|
return MetadataField.findByElement(ourContext,
|
||||||
|
Reference in New Issue
Block a user