File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/main/java/edu/harvard/iq/dataverse/engine/command/impl Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -178,6 +178,9 @@ public Dataset execute(CommandContext ctxt) throws CommandException {
178178 recalculateUNF = true ;
179179 }
180180 }
181+
182+ theDataset .getOrCreateEditVersion ().setLastUpdateTime (getTimestamp ());
183+
181184 // we have to merge to update the database but not flush because
182185 // we don't want to create two draft versions!
183186 // Although not completely tested, it looks like this merge handles the
@@ -256,7 +259,7 @@ public Dataset execute(CommandContext ctxt) throws CommandException {
256259 ctxt .ingest ().recalculateDatasetVersionUNF (theDataset .getOrCreateEditVersion ());
257260 }
258261
259- theDataset . getOrCreateEditVersion (). setLastUpdateTime ( getTimestamp ());
262+
260263 theDataset .setModificationTime (getTimestamp ());
261264
262265 savedDataset = ctxt .em ().merge (theDataset );
You can’t perform that action at this time.
0 commit comments