Project

General

Profile

Actions

Bug #5785

closed

Morpho doesn't set obsoletes correctly for the local data package when a user saves a package to both local and network

Added by Jing Tao almost 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
01/16/2013
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5785

Description

I created a data package by the new data package wizard and saved it to the both local and network.
Then I updated a data package and save it again to the both local and network.

I searched the title in the morpho and found the newer version in the local and network. Well, so far so good. However, it also showed up the previous version in the local. So the set of obsoletes doesn't work for the local.

However, i repeated the above steps except only saving locally. Everything worked well.


Related issues

Blocked by Morpho - Bug #5736: Morpho DataONE refactor - trackerNewben leinfelder11/19/2012

Actions
Actions #1

Updated by Jing Tao almost 12 years ago

Currently, the step to increase revisions is separated into the local and network service. If we save to the both locations, it will save to the network first, then to the local. In the network saving process, the identifier had been increased. So it will be treated as a new id (rather than a updated it ) in the local saving process.

In the processing the new id, i added code to set up revision history if the system metadata has obsoletes element. It works.

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 5785

Actions

Also available in: Atom PDF