Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
-
Folijet Sprint 98, Folijet Sprint 99
-
2
-
Folijet
-
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:
- Log into folio-snapshot-load as diku_admin
- Go to Settings/Data Import
- Create Field mapping profile 1
- Name: Create instance
- Incoming record type: MARC Bib
- FOLIO record type: Instance
- Cataloged date: ###TODAY###
- Instance status: Batch loaded
- 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
- 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
- Create action profiles for each of the 3 above field mapping profiles, and link the appropriate field mapping profile to the appropriate action profile
- 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
- Import the attached file, using the newly-created job profile
- Go back to Settings/Data Import
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- Go to Data Import and import the attached file, using Job profile: Test repeatable check in/out note: add to existing
- 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
- Go to Data Import and import the attached file, using Job profile: Test repeatable check in/out note: find and remove these
- 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) (/(
- Go to Data Import and import the attached file, using Job profile: Test repeatable check in/out note: delete existing & add these
- 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
- Go to Data Import and import the attached file, using Job profile: Test repeatable check in/out note: delete all existing
- 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
- blocks
-
MODINV-344 Release mod-inventory 16.1.0
-
- Closed
-
- defines
-
UXPROD-2446 Finish & cleanup MARC Field Mapping Profiles Details for Inventory records
-
- Closed
-
- is blocked by
-
UIDATIMP-679 Change "Check in/out note" value to "Check in/out"
-
- Closed
-
- relates to
-
MODDICORE-70 Actions in mapping profile don`t work correctly.
-
- Closed
-