Does the system metadata need the obsoletedBy element?
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:
But, the system metadata doesn't have the obsoletedBy element.
And the system metadata of foo.2 it does have the obsoletes element.
#1 Updated by ben leinfelder almost 8 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.