Claimed publication date precision saved as string literal
Closed this issue · 2 comments
litvinovg commented
Describe the bug
Claimed publication date precision saved as string literal which results in not editable date
To Reproduce
Steps to reproduce the behavior:
- Claim publication by DOI
- Go to the profile of claimed publication
- Click edit publication date
- Date will not be presented in entry form. Also export publication data will show precision defined as string literal.
Expected behavior
Date should be presented in entry form, precision should be set as a resource.
Environment (please complete the following information):
- OS: Linux
- Browser Firefox
- Tomcat version 8.5
- VIVO version 1.14.1-snapshot
- Apache Solr
litvinovg commented
To fix invalid precision statements in VIVO :
- Construct invalid precision statements to remove with query invalid_data_query.txt
- Construct valid precision statements to upload with query valid_data_query.txt
- Remove invalid precision statements, add valid precision statements.
litvinovg commented
-
Query to find invalid length of date time values invalid-date-time.txt
-
Query to construct invalid date time values to remove invalid-date-time-to-remove.txt
-
Query to construct valid date time values to ingest valid-date-time-to-add.txt