sul-dlss-deprecated / hydrus

[DEPRECATED] Superseded by https://github.com/sul-dlss/happy-heron/ An application for self-deposit of digital objects into the Stanford Digital Repository for preservation and access.
Other
12 stars 4 forks source link

License change of an embargoed object post-embargo overwrites all rightsMD #57

Open blalbrit opened 7 years ago

blalbrit commented 7 years ago

Compare: https://dor-prod.stanford.edu/fedora/objects/druid:py883nd2578/datastreams/rightsMetadata/content?asOfDateTime=2017-06-19T09:16:36.566Z (the successful embargo release) with https://dor-prod.stanford.edu/fedora/objects/druid:py883nd2578/datastreams/rightsMetadata/content?asOfDateTime=2017-06-22T16:20:51.805Z

Situation occurred where an object was released from embargo by the automated process. However, the user went back into the Hydrus app three days later and changed the license. It looks like Hydrus was unaware of the embargo release (which updates the rightsMD metadata stream) and simply overwrote that datastream with the stale pre-embargo-release data (effectively re-embargoing the object).

@LynnMcRae - do you have further thoughts?

I'm filing this ticket not so much with the expectation that this get fixed (it's something of an edge case) but mainly to signal that this is something to watch out for in whatever application replaces Hydrus eventually.

blalbrit commented 7 years ago

After consulting with @LynnMcRae - to clarify, it was the versioning of the object in Hydrus that caused the problem. That is, resubmitting the object from the Hydrus side caused full reassembly and rightsMD replacement.