Uploaded image for project: 'mod-inventory'
  1. mod-inventory
  2. MODINV-346

Problem with the repeatable check in/out notes field mapping actions

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      Folijet Sprint 98, Folijet Sprint 99
    • Story Points:
      2
    • Development Team:
      Folijet
    • Release:
      Q3 2020

      Description

      Overview: Item record check-in/check-out notes field mapping does not work properly with regards to the various actions used for repeatable fields

      Current workaround: Manual update of item records (not sustainable for large numbers of records)

      Steps to Reproduce:

      1. Log into folio-snapshot-load as diku_admin
      2. Go to Settings/Data Import
      3. Create Field mapping profile 1
        • Name: Create instance
        • Incoming record type: MARC Bib
        • FOLIO record type: Instance
        • Cataloged date: ###TODAY###
        • Instance status: Batch loaded
      4. Create Field mapping profile 2
        • Name: Create holdings
        • Incoming record type: MARC Bib
        • FOLIO record type: Holdings
        • Location: Online
        • Electronic access:
          • Action: Add to existing
          • Relationship: Resource
          • URI: 856$u
      5. Create field mapping profile 3
        • Name: Create item
        • Incoming record type: MARC Bib
        • FOLIO record type: Item
        • Material type: "electronic resource"
        • Permanent loan type: "Can circulate"
        • Status: "Available"
        • Electronic access:
          • Action: Add to existing
          • Relationship: Resource
          • URI: 856$u
      6. Create action profiles for each of the 3 above field mapping profiles, and link the appropriate field mapping profile to the appropriate action profile
      7. Create a job profile
        • Name: Create inventory
        • Accepted Data type: MARC
        • Match: None
        • Action 1: Create instance
        • Action 2: Create holdings
        • Action 3: Create item
      8. Import the attached file, using the newly-created job profile
      9. Go back to Settings/Data Import
      10. Create a match profile
        • Name: Match on URL
        • Incoming record: MARC Bib
        • Existing record: Item
        • Field=856 Ind 1=4 Ind 2=0 Subfield=u
        • Exactly matches
        • Item field: Electronic access: URI
      11. Create field mapping profile 4
        • Name: Test repeatable check in/out note: add to existing
        • Incoming record type: MARC Bib
        • FOLIO record type: Item
        • Item identifier: "Test 1"
        • Check in / Check out notes:
          • Action: Add these to existing
          • Note 1: Note type: "Check in note" Note: "Note 1" Staff only: Mark for all affected records
          • Note 2: Note type: "Check in note" Note: "Note 2" Staff only: Mark for all affected records
          • Note 3: Note type: "Check out note" Note: "Note 3" Staff only: Mark for all affected records
      12. Create action profile 4
        • Name: Test repeatable check in/out note: add to existing
        • Action: Update
        • Record type: Item
        • Link field mapping profile 4 to it
      13. Create field mapping profile 5
        • Name: Test repeatable check in/out note: find and remove these
        • Incoming record type: MARC Bib
        • FOLIO record type: Item
        • Item identifier: "Test 2"
        • Check in / Check out notes:
          • Action: Find and remove these
          • Note 1: Note type: "Check out note" Note: "Note 3" Staff only: Mark for all affected records
      14. Create action profile 5
        • Name: Test repeatable check in/out note: find and remove these
        • Action: Update
        • Record type: Item
        • Link field mapping profile 5 to it
      15. Create field mapping profile 6
        • Name: Test repeatable check in/out note: delete existing & add these
        • Incoming record type: MARC Bib
        • FOLIO record type: Item
        • Item identifier: "Test 3"
        • Check in / Check out notes:
          • Action: Delete existing and add these
          • Note 1: Note type: "Check in note" Note: "Note A" Staff only: Mark for all affected records
          • Note 2: Note type: "Check out note" Note: "Note B" Staff only: Mark for all affected records
      16. Create action profile 6
        • Name: Test repeatable check in/out note: delete existing & add these
        • Action: Update
        • Record type: Item
        • Link field mapping profile 6 to it
      17. Create field mapping profile 7
        • Name: Test repeatable check in/out note: delete all existing
        • Incoming record type: MARC Bib
        • FOLIO record type: Item
        • Item identifier: "Test 4"
        • Check in / Check out notes:
          • Action: Delete all existing values
      18. Create action profile 7
        • Name: Test repeatable check in/out note: delete all existing values
        • Action: Update
        • Record type: Item
        • Link field mapping profile 7 to it
      19. Create 4 new job profiles
        • Name of each one: the same as action profiles 4-7
        • Accepted data type: MARC
        • Match: Match on URL
        • If match = yes, then include one of the Action profiles 4-7
      20. Go to Data Import and import the attached file, using Job profile: Test repeatable check in/out note: add to existing
      21. After import, Go to Inventory and view the item record to see if Item identifier = Test 1, and if 3 check in/out notes were added to the item record
      22. Go to Data Import and import the attached file, using Job profile: Test repeatable check in/out note: find and remove these
      23. After import, Go to Inventory and view the item record to see if Item identifier = Test 2, and if the check in/out 3 was removed (so 2 check in/out notes remain) (/(
      24. Go to Data Import and import the attached file, using Job profile: Test repeatable check in/out note: delete existing & add these
      25. After import, Go to Inventory and view the item record to see if Item identifier = Test 3, and if all previous item notes were removed and 2 new check in/out notes were added to the item record
      26. Go to Data Import and import the attached file, using Job profile: Test repeatable check in/out note: delete all existing
      27. After import, Go to Inventory and view the item record to see if Item identifier = Test 4, and if all check in/out notes were removed from the item record

      Expected Results: Check-in/out notes should be added or removed as indicated in the 4 different field mapping profiles

      Actual Results: They're not. The item note field works fine, but not the Check in/Check out notes

      Additional Information: See attached video and MARC file

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                VRohach Volodymyr Rohach
                Reporter:
                abreaux Ann-Marie Breaux
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases