Project

General

Profile

Bug #2193

Morpho incorrectly tries to insert rather than update when trying to save revised data packages on the network

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

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
09/09/2005
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2193

Description

Morpho sometimes fails to save revisions to data packages to the network. It
tries to "insert" rather than "update" the package, which then produces the
error: "Problem Saving Data: Id already in use". the data package involved had
been modified and saved several times locally prior to attempting to save to the
network, and was name nceas.227.12 (the network version was nceas.227.1).

History

#1 Updated by Will Tyburczy over 13 years ago

This seems to occur when a dp that is already on a metacat server is manually placed inside the user's .morpho directory. If you subsequently edit the dp and try to save to changes to the network, Morpho will attempt an insert rather than an update of the document. Is it possible that Morpho is keeping track of which documents it has saved previously to decide whether to insert or update?

#2 Updated by Jing Tao about 10 years ago

Created a document and saved it to metacat. Then synchronized to local. Made two changes and saved them into local. Then made a change again, save to metacat, it worked. So the release in 1.7 fixed the bug.

#3 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 2193

Also available in: Atom PDF