Skip to content

harvester: allow create in sandbox when the CDS record is not in the local DB #978

Description

@TahaKhan998

In sandbox the harvester tries to create records that already exist on prod. those records have a CDS DOI (10.17181) and/or a CDSRDM id. the matcher finds nothing in sandbox because the record is not there, so it goes to create. create is then blocked with:

"Create is blocked: trying to create record with cds doi - record should be updated instead."

this only happens because sandbox does not have the same records as prod.
add a CDS config (sandbox only). when the matcher finds no local hit, allow create even if the incoming record has a datacite DOI or a CDSRDM id. use the same CDS pid as prod.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions