Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
Folijet Sprint 101
-
2
-
Folijet
-
Q3 2020 Bug Fix
Description
Overview: When default data (non-MARC field) is added to a field mapping profile, it must be enclosed in quotation marks. If the value is selected from a dropdown, the quotation marks are added automatically. If the value is typed by the user, no quotation marks are added, and no validation error appears.
Current workaround: None - import fails because of invalid data, and user has to inspect the field mapping profile to find the invalid mapping
Steps to Reproduce:
- Log into FOLIO-snapshot-load as diku_admin
- Go to Settings/Data Import/Field mapping profiles
- Create a new field mapping profile
- Incoming record type: MARC bib
- Existing FOLIO record type: Item
- In the field mapping details, type a default value into the Item identifier field, e.g. TEST
- Save the field mapping profile
Expected Results: If text is entered into a field mapping profile with incoming record type = MARC Bib, and the text does not have quotation marks around it, then show a validation error under the field(s) missing the quotation marks.
Error text: Non-MARC value must use quotation marks
Exceptions
- MARC field and subfield, e.g. 900$a
- MARC strings beginning with LDR, 005, 006, 007, 008 (e.g. LDR/8-10, or 008/34)
- ; else (the syntax for cascade)
- ###TODAY### (only for date fields)
- ###REMOVE### (only for non-repeatable fields)
Actual Results: Field mapping profile can be saved with default data with no quotation marks around it.
Additional Information: Validation logic described in UIDATIMP-405, but this exact use case not specified. Can we add it? I have found 4 user errors in Bugfest testing due to missing quotation marks.
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-2551 NFR: Data Import (Batch Importer for Bib Acq) & PubSub Q3 2020 Technical, NFR, & Misc bug work
-
- Closed
-
- relates to
-
UIDATIMP-405 Validation for MARC Field mapping syntax for Instance, Holdings, Item profiles
-
- Closed
-
-
UIDATIMP-753 UIDATIMP (ui-data-import) bugfix release 3.0.3
-
- Closed
-