Bug #5858
closedDoes the system metadata need the obsoletedBy element?
0%
Description
I created data package foo.1 and saved it locally. Then I modified the data package and saved it foo.2. The system metadata of foo.1 should have something like:
<obsoletedBy>foo.2</obsoletedBy>
But, the system metadata doesn't have the obsoletedBy element.
And the system metadata of foo.2 it does have the obsoletes element.
Updated by ben leinfelder almost 12 years ago
It is probably a good idea to set them both, but I am not sure it is required locally. On the MN we do set the obsoletedBy value on the old object's SystemMetadata since you can only obsolete (update) an object that already exists.
The old object - whether local or on network - should know that it is not the most current version and this would be determined by whether obsoletedBy was null or not.
Updated by Jing Tao almost 12 years ago
In the local save and delete processes, the obsoletedBy element is handled.