Islandora / controlled_access_terms

Drupal module for subject and agents
GNU General Public License v2.0
7 stars 28 forks source link

[BUG] Undefined array key 3 warning when using date interval in JSON-LD #103

Closed seth-shaw-asu closed 10 months ago

seth-shaw-asu commented 11 months ago

What steps does it take to reproduce the issue?

Create an item with and EDTF interval, e.g. '2022/2023', and view the JSON-LD. This creates a warning in the logs stating "Undefined array key 3" because the converter is expecting a single date.

What did you expect to happen?

No warnings. It should return the earliest ISO 8601 date value for the interval.