ControlledVocabularyManager
ControlledVocabularyManager copied to clipboard
When a Term is edited, the Issued date stays but loses its date type
Describe the bug
When a Term is created, Issued date is set with the correct type. "2019-07-22"^^<http://www.w3.org/2001/XMLSchema#date>
But when it's edited again and that is reviewed, it loses the date type. "2019-07-22"
The original Issued date is still saved correctly.
To Reproduce Steps to reproduce the behavior:
- Create new Term
- Review new Term
- Visit newly created Term page, click on N-Triples
- Check Issued date has type:
<http://opaquenamespace.org/ns/test/issued_test> <http://purl.org/dc/terms/issued> "2019-07-22"^^<http://www.w3.org/2001/XMLSchema#date> .
- Edit same Term.
- Review edit.
- Visit Term page, check N-Triples again, this time it's:
<http://opaquenamespace.org/ns/test/issued_test> <http://purl.org/dc/terms/issued> "2019-07-22" .
Expected behavior Issued date's type should always be retained through edits.