-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Labels
bugBreaks something but is not blockingBreaks something but is not blockingf: dataAbout data model, importation, transformation, exportation of data, specific for bibliographic dataAbout data model, importation, transformation, exportation of data, specific for bibliographic dataf: editorConcerns editor based on JSON schema AND custom editorConcerns editor based on JSON schema AND custom editor
Description
Bug description:
In existing document, when changing a subfield (in field contribution or subject) from MEF-link agent to local agent, the contribution pid stays in the data sent when submitting the document. This creates an error "bf:Organisation was expected" and prevents the document to be saved.
This only happens when changing a subfield that had already been saved with a MEF-link.
Sentry: https://sentryils.rero.ch:8443/organizations/sentry-rero-ils-prod/issues/53001/
RERO-ILS-2TY
Expected behavior:
- When editing a document, switching an existing agent field's
oneOfshould completely clear the subfield to allow entering new data.
Steps to Reproduce:
- Go to https://ils.test.rero.ch/professional/records/documents/edit/1069
- Scroll down to
Contribution, change the oneOf from "link to a person" to "person" - Try to save the document
- See the error
Context
Server:
- production: bib.rero.ch or ils.bib.uclouvain.be
- test: bib.test.rero.ch
- dev: ilsdev.test.rero.ch
- dev test : ils.test.rero.ch
Version:
v1.14.1
Metadata
Metadata
Assignees
Labels
bugBreaks something but is not blockingBreaks something but is not blockingf: dataAbout data model, importation, transformation, exportation of data, specific for bibliographic dataAbout data model, importation, transformation, exportation of data, specific for bibliographic dataf: editorConcerns editor based on JSON schema AND custom editorConcerns editor based on JSON schema AND custom editor
Type
Projects
Status
Done