Uploaded image for project: 'mod-data-export'
  1. mod-data-export
  2. MDEXP-584

Holdings cannot be exported with custom mapping profile

    XMLWordPrintable

Details

    • Bug
    • Status: In bugfix review (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 4.7.1
    • Firebird - Sprint 160
    • 2
    • Firebird
    • Orchid (R1 2023) Bug Fix
    • Implementation coding issue

    Description

      Overview:
      In addition to the default mapping profile, users should be able to create a custom mapping profile where any supported holdings field can be included.

      Steps to Reproduce:
      1. Navigate to Settings->Data export -> Mapping profiles
      2. Build a mapping profile that includes only holdings record type and the following transformations:

      3. Navigate to the job profiles, create a new one and associate it with the mapping profile from the previous step
      4. Trigger the export using this profile

      Expected Results:
      .mrc file is generated and contains all fields as specified in the mapping profile populated with the data from inventory instance record

      Actual Results:
      The export fails with "For exporting holding records only the default holding job profile is supported"
      Additional Information:
      Example from Nolana bugfest:

      https://bugfest-nolana.int.aws.folio.org/data-export/log/4e59f2c2-47c3-4175-8b68-f04f68f0daf8

      TestRail: Results

        Attachments

          1. completed.png
            completed.png
            294 kB
          2. Created job profile with mapping.png
            Created job profile with mapping.png
            39 kB
          3. holdings.csv
            0.0 kB
          4. image-2023-01-12-14-15-31-990.png
            image-2023-01-12-14-15-31-990.png
            97 kB
          5. image-2023-01-12-14-20-23-628.png
            image-2023-01-12-14-20-23-628.png
            540 kB
          6. image-2023-01-12-14-25-42-780.png
            image-2023-01-12-14-25-42-780.png
            582 kB
          7. image-2023-01-12-14-26-45-056.png
            image-2023-01-12-14-26-45-056.png
            178 kB
          8. job-profile.png
            job-profile.png
            870 kB
          9. mapping-profile.png
            mapping-profile.png
            920 kB
          10. result.png
            result.png
            936 kB

          Issue Links

            Activity

              People

                Charniak Siarhei Charniak
                magdaz Magda Zacharska
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases