Project

General

Profile

Actions

Bug #2428

closed

Morpho incorrectly tries to update instead of insert when saving a dp to a second metacat

Added by Will Tyburczy over 18 years ago. Updated about 14 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
04/26/2006
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2428

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>

Actions

Also available in: Atom PDF