You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is caused by repeatable DOI metadata fields not always being an array in the REST API, in this case the dates field. This issue comes up now as Fabrica is actually using these fields in the DOI form, using a fragmentArray. This is the error we can see in the console.
The short-term fix is to always serialize these fields into an array in the DOI serializer in the API. The long-term fix (faster, but needs updating all DOI records and reindexing) is to make sure these fields are always stored in the database (where we use a JSON field) as an array.
Expected Behaviour
DOIs listed under DOIs tab
Current Behaviour
For some accounts the DOIs are not listed https://doi.test.datacite.org/providers/osi
Steps to Reproduce
Context (Environment)
Fabrica test
Hypothesis
Detailed Description
Possible Implementation
The text was updated successfully, but these errors were encountered: