Closed dr-shorthair closed 9 years ago
I see that the property reg:predecessor is provided - https://github.com/UKGovLD/ukl-registry-poc/wiki/Principles-and-concepts#status-and-life-cycle so the information can be recorded, but is not currently enforced by a workflow.
Further discussions with potential adopters have reinforced this requirement.
Done. Added reg:predecessor. Added second argument to the status update API to state the successor, required in the case of setting status to superseded. Normal update also checks that successor is present in metadata before accepting change of status to superseded. Extended UI to provide form field to specify successor and to display successor as part of core metadata.
Onya Dave. Will test soon!
When an item status is changed to 'superseded', the UI dialogue must walk through a step to record what it is superseded by.
Using the API, an request to change status to 'superseded' should fail unless a value for dct:isReplacedBy is provided.