Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-4422

Missing dc.identifier.orcid field on a default installation

    XMLWordPrintable

    Details

    • Attachments:
      0
    • Comments:
      2
    • Documentation Status:
      Not Required

      Description

      I'm getting an error when importing a Person entity record from Orcid:

       

      2020-01-16 17:37:14,310 ERROR org.dspace.app.rest.repository.handler.ExternalSourceEntryItemUriListHandler @ An error occured when trying to create item in collection with uuid: 4ed58a18-cef5-44b6-a9bd-2409071522cf
      java.sql.SQLException: bad_dublin_core schema=dc.identifier.orcid. Metadata field does not exist!

       

       

      By default, dc.identifier.orcid doesn't exist in metadata registry. Optionally it can be used - or a generic person.identifier (avaliable at: https://github.com/DSpace/DSpace/blob/master/dspace/config/registries/schema-person-types.xml#L93), or the proper one person.identifier.orcid (available at: https://github.com/DSpace/DSpace/blob/master/dspace/config/registries/schema-person-types.xml#L121)

       

      The fix should be applied to this class:

      https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/external/provider/impl/OrcidV2AuthorDataProvider.java#L135

       

      (please consider my comment here for enhancing this feature: https://github.com/DSpace/DSpace/pull/2560#discussion_r340576473)

        Attachments

          Activity

            People

            Assignee:
            paulo_graca Paulo Graça
            Reporter:
            paulo_graca Paulo Graça
            Reviewer:
            Tim Donohue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support