Open ilovan opened 2 years ago
https://cwrc.ca/islandora/object/reed%3Aaeb808b5-2c93-4e94-a1f4-52e7d3be016b/datastream/MODS/version/0/view Temporal subject in this case is a date range expressed in MODS as
<subject>
<temporal point="start">1501</temporal>
</subject>
<subject>
<temporal point="end">1600</temporal>
</subject>
In the output of the transform to workbench format, it gets stored as 1501|1600
in the field_temporal_subject
A second area of the temporal subject failing is if the subject is a year only (e.g., 1582) -- workbench interprets as a reference id instead of a label. Details of the problem: https://github.com/mjordan/islandora_workbench/issues/337#issuecomment-947704730
The following commit helps incrementally in these cases
Failing cases:
@ilovan
A question if there is a temporal point start
but no end
<mods:subject>
<mods:temporal point="start">2000</mods:temporal>
</mods:subject>
<mods:subject>
<mods:temporal point="start">2001</mods:temporal>
</mods:subject>
Is this the expected output
2000_workbench_separator_2001
Or should each have an open range like this 2000/
Regarding the year (number only) aspect, my best idea (untested) to date:
Taxonomy reference is required : see
/admin/structure/taxonomy/manage/temporal_subjects/overview
Workbench check fails on that field