Bug #2428
closedMorpho incorrectly tries to update instead of insert when saving a dp to a second metacat
0%
Description
To recreate this bug:
Create a data package and save it to a metacat server, (and locally, if you'd like). Make at least one change and save it a second time locally (i.e., so you're on the second revision of the document). Then go to set preferences and change to a different metacat sever (which doesn't have the dp on it yet). Open the dp, and try to save it to the new metacat. You will get an error saying "Problem Saving Data: Document not found for Accession number!", and the save will fail. Looking at stderr.log you can see that morpho tried to do an update instead of an insert.
Name: action => update
Name: public => no
message from server:
<error>
Document not found for Accession number bowdish.46
</error>
MetacatUpload Exception in EML200DataPackage!
<error>
Document not found for Accession number bowdish.46
</error>