Uploaded image for project: 'ui-data-import'
  1. ui-data-import
  2. UIDATIMP-768

Field mapping for repeatable fields needs a tweak to validation



    • Folijet Sprint 102
    • 2
    • Folijet
    • R1 2021


      Overview: For repeatable fields in the Instance, Holdings, and Item field mapping profiles, if you select an action first, FOLIO validates whether you add a value, or (if the action is remove all) does not allow you to add a value. If you add the value first (before selecting an action), the field mapping profile can be saved without an action for the repeatable field. And then the import errors because FOLIO does not know what action to take for the repeatable field.

      Current workaround Review the field mapping profile carefully

      Steps to Reproduce:

      1. Log into FOLIO-snapshot-load as diku_admin
      2. Go to Settings/Data Import/Field mapping profiles
      3. Create a new field mapping profile for incoming record = MARC Bib and existing FOLIO record = Holdings
      4. Go to the Holdings Statement field
      5. Click Add holdings statement and fill in default data in the row that appears (e.g. "test")
      6. DO NOT click the Action dropdown above the Holdings statement row
      7. Select a permanent location from the dropdown list
      8. Save the field mapping profile

      Expected Results: The field mapping profile cannot be saved, and there should be a warning below the Action dropdown for Holdings statement Action must be selected before the profile can be saved, User needs to select any of the actions except "Delete all existing values" before the field mapping profile can be saved

      Actual Results: The profile was saved without an action for the repeatable field

      Additional Information: See attached video

      NOTE This should be corrected for all repeatable fields on the field mapping profiles for Instances, Holdings, and Items

      TestRail: Results


          Issue Links



                Ihor_koba Ihor Koba
                abreaux Ann-Marie Breaux
                0 Vote for this issue
                2 Start watching this issue



                  TestRail: Runs

                    TestRail: Cases