event.setEventDescription("fileOriginalPath needs to be updated to correct a mistake in the Submission Application where wrong fileOriginalPath metadata was read and inserted. The result of this mistake was that the fileOriginalPath now includes directories that are too high up in the directory hierarchy.");
event.setLinkingAgentIdentifierType1("HUMAN");
event.setLinkingAgentIdentifierValue1("plugin programmed by Andreas Romeyke (SLUB Dresden), code available at https://github.com/SLUB-digitalpreservation/fileoriginalpath_plugin4rosetta");
eventList.add(event);
ieDnxH.setEvents(eventList);
}catch(DigitoolExceptione){
e.printStackTrace();
}
returntaskResults;
returntaskResults;
}
}
...
@@ -76,7 +103,7 @@ public class DnxMoveFileOriginalPath implements RepositoryTaskPlugin {
...
@@ -76,7 +103,7 @@ public class DnxMoveFileOriginalPath implements RepositoryTaskPlugin {
updated=true;
updated=true;
}
}
/* if something is updated */
/* if something is updated */
if(updated==true){
if(updated){
// update it
// update it
log.info("update needed for IE "+ieEditor.getIEPid()+" RepPid "+repPid+" FilePid "+filePid+
log.info("update needed for IE "+ieEditor.getIEPid()+" RepPid "+repPid+" FilePid "+filePid+
" (old file_original_path='"+currentFileOriginalPath+"') to new file_original_path='"+
" (old file_original_path='"+currentFileOriginalPath+"') to new file_original_path='"+