Skip to content

fix(harvester): allow metadata-only create when INSPIRE has no files - #962

Open
TahaKhan998 wants to merge 1 commit into
CERNDocumentServer:masterfrom
TahaKhan998:fix/harvester-import-missing-files
Open

fix(harvester): allow metadata-only create when INSPIRE has no files#962
TahaKhan998 wants to merge 1 commit into
CERNDocumentServer:masterfrom
TahaKhan998:fix/harvester-import-missing-files

Conversation

@TahaKhan998

Copy link
Copy Markdown

closes #952

when we harvest an inspire record that has no files, we try to mark it as metadata only (no files needed). cds normally doesnt let people do that, and the harvester got blocked by the same rule, so the record still looked like it should have files, had none, and failed on publish. this pr just adds InspireHarvester() to can_manage_files so those records can be imported as metadata only while normal users still cant.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

harvester: import records with missing files as well

2 participants