Bug #2193
closedMorpho incorrectly tries to insert rather than update when trying to save revised data packages on the network
0%
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).
Updated by Will Tyburczy over 18 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?
Updated by Jing Tao about 15 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.