inveniosoftware / invenio-vocabularies

Invenio module for managing vocabularies.
https://invenio-vocabularies.readthedocs.io
MIT License
2 stars 40 forks source link

Funders ROR v2 failing for label names with lang None #339

Closed ptamarit closed 3 weeks ago

ptamarit commented 3 weeks ago

Related to #316

How to reproduce the problem:

  1. Download the latest ROR Data Dump (version v1.47 at the time of writing).
  2. Run the following command:
    $ invenio vocabularies import -v funders -o v1.47-2024-05-30-ror-data.zip | grep ValidationError
    FundersServiceWriter: [{'ValidationError': {'title': defaultdict(<class 'dict'>, {None: {'key': ['Field may not be null.']}})}}]
    FundersServiceWriter: [{'ValidationError': {'title': defaultdict(<class 'dict'>, {None: {'key': ['Field may not be null.']}})}}]
    FundersServiceWriter: [{'ValidationError': {'title': defaultdict(<class 'dict'>, {None: {'key': ['Field may not be null.']}})}}]
    ...