vivo-project/VIVO

Claimed publication date precision saved as string literal

Closed this issue · 2 comments

Describe the bug
Claimed publication date precision saved as string literal which results in not editable date

To Reproduce
Steps to reproduce the behavior:

  1. Claim publication by DOI
  2. Go to the profile of claimed publication
  3. Click edit publication date
  4. 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

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.