Allow Accession date to be "Undated"

Description

From Berea College:

"“Undated” is DACS compliant for dates, so it only makes sense that ASpace would accommodate."

Particularly a problem when importing legacy accession data that doesn't have dates. Workaround to use dummy date i.e.. "0001-01-01", ok but not ideal.

Complexity

None

Activity

Show:

Joshua ShawApril 17, 2019 at 12:56 PM

Tested by creating a new accession without accession date. The date displays as "unknown" in view mode and as a blank field in edit mode. The json appears to have the desired data "9999-12-31" so I'd call this complete.

Sarah MorrisseyApril 12, 2019 at 6:56 PM

The intended behavior is that you can leave the accession date blank and it will save the dummy date (9999-12-31) as the accession date and not cause an error. This should be analogous to having 'undated' in DACS. Then any accession dates that are 9999-12-31 should display 'unknown' in the staff interface. 9999-12-31 just serves as a placeholder since there has to be something there, but it shouldn't ever be visible in the staff interface.

Former userApril 12, 2019 at 6:45 PM

Not exactly sure what is to be tested here. The issue seems to be about import of accessions data, but could relate to manual creation so I tested that doing the following.

  • Create new accession.

  • Used value "Undated" in accession date field which resulted in an error "Accession Date: not a valid date" after saving.

  • Then used "9999-12-31" as value for Accession Date, which did not result in an error on save, but the value did not appear to be actually saved as the record showed "unknown" as the Accession Date value in the "read" view/mode, and there is no value in the Accession Date field in the edit mode.


Please let me know if you would like me to test differently

Lydia TangFebruary 26, 2019 at 8:01 PM

Passing with the suggested solutions. , would you be willing to update Tech Docs re: the dummy date importing? Lydia - on behalf of Dev. Pri.

Laney McGlohonFebruary 28, 2018 at 5:24 PM

Done

Details

Assignee

Reporter

Priority

Harvest Time Tracking

Open Harvest Time Tracking

Created September 10, 2015 at 4:34 PM
Updated May 30, 2019 at 12:47 PM
Resolved May 30, 2019 at 12:47 PM
Harvest Time Tracking