cznethub / dsp

CZNet Hub Data Submission Portal
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Failure to render Zenodo form in Firefox after schema migrations #120

Closed Maurier closed 10 months ago

Maurier commented 10 months ago

Description of the bug A clear and concise description of what the bug is.

Steps to reproduce the bug:

  1. Go to the submission page for Zenodo
  2. Notice that the form is not rendered

Expected behavior The form is rendered.

Additional information https://jsonforms.discourse.group/t/function-nested-too-deeply-error-when-enum-has-many-options/1451/5 oneOf of title, const pairs are limited to a max number of elements (presumably 200) and this array of licenses is longer than that. This causes an error in Firefox where the schema will fail to render due the resulting iteration being too nested.