Skip to content

Commit

Permalink
one other rearrangment - changes where the dataset is merged, after i…
Browse files Browse the repository at this point in the history
…t's modified during the first

stage of the async publishing. #6558.
  • Loading branch information
landreev committed Apr 14, 2020
1 parent 093ed6d commit b055cad
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ public PublishDatasetResult execute(CommandContext ctxt) throws CommandException
lock.setDataset(theDataset);
lock.setInfo(info);
ctxt.datasets().addDatasetLock(theDataset, lock);
theDataset = ctxt.em().merge(theDataset);
ctxt.datasets().callFinalizePublishCommandAsynchronously(theDataset.getId(), ctxt, request, datasetExternallyReleased);
return new PublishDatasetResult(theDataset, false);

Expand Down

0 comments on commit b055cad

Please sign in to comment.