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

The enabled indicator for duplicated field mapping fields is set to false

    XMLWordPrintable

Details

    • 3
    • Folijet Support
    • Morning Glory (R2 2022)
    • Implementation coding issue

    Description

      Originally reported for Holdings field mapping profile (which is not duplicate-able in the UI; changed repro steps to one of the default invoice field mapping profiles)

      Overview: If a field mapping profile is created by duplicating one of the 'default' field mapping profiles - the 'enabled' indicator on various fields is set to false. This causes an error during the import, even if the field has a valid value

      Current workaround: Create new profile from scratch, rather than duplicating a default profile

      Steps to Reproduce:

      1. Log into FOLIO https://bugfest-kiwi.folio.ebsco.com/ .
      2. Go to Settings/Data import/Field mapping profile.
      3. Find one of the Default field mapping profiles for EDIFACT invoices
      4. Duplicate the profile
      5. Fill in values for the required fields:
        • Name: Change the name slightly
        • Description: delete
        • Batch group: Select a value from the dropdown list
        • Vendor name: Click organization look-up and search for GOBI, then select any vendor named GOBI. Note: that should also fill in the Accounting code field in the Invoice field mapping profile
        • Payment method: Select a value from the dropdown list
      6. Save the duplicated profile
      7. Open the Developer tools (in Chrome) by going to the 3 dots at the top of the browser window, clicking on them, selecting More tools, and then selecting Developer tools
      8. Refresh the page
      9. Developer tools-> Select the "Network" section-> find response with profile id-> Select the "Preview" section
      10. Verify that the "batch group" field contains "enable: true" for the selected value in step 4

      Expected Results: The 'enabled' indicator on the added fields should be set to 'true'. In the attached screenshot, the marked field is Payment method, but in TestRail, we're using Batch group.

      Actual Results: The 'enabled' indicator is set to false

      Additional Information:

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Mariia_Aloshyna Mariia Aloshyna
                Mariia_Aloshyna Mariia Aloshyna
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases