Field mappings: Reference dropdowns - Holdings, Item - Permanent/Temp location lists need work

Description

Overview: In Holdings and Item field mapping profiles, reference dropdown lists for Permanent and Temporary locations need work

NOTE This needs to be corrected for all location fields in the Holdings and Item field mapping profiles

Steps to Reproduce:

  1. Log into FOLIO-snapshot-load as diku_admin

  2. Go to Settings/Data import/Field mapping profiles

  3. Start to create a new field mapping profile with Incoming record = MARC Bibliographic and FOLIO record type = Holdings

  4. Find the Location/Permanent field and click the dropdown list

  5. View the list of values

  6. Click on one of the values

  7. View the selected location information in the mapping field

Expected Results: In the dropdown, and then in the field after a value has been selected, I should see the name of the location, followed by the location code in parentheses. Best example is the attached screenshot from the Purchase order line.

Actual Results: I only see the name of the location

Location Code versus Name: When mapping from a MARC record, the location should create/update properly in the holdings or item record, even when only the code is supplied from the MARC record. For example: the location value in the dropdown list in Garnett General (wpgen). For the mapping, I use 949 $a, rather than selecting a default from the dropdown list. When the location data is pulled from the 949 $a, it is wpgen. And that should map properly into the holdings or item record as Garnett General (wpgen).

Additional Information: See attached screenshots, plus a list of sample locations from Missouri State University - much longer than the sample data in the hosted reference environments. You'll see the location name, followed by the code in parentheses.

Once corrected, please try mapping into a Holdings Field mapping profile and see if it imports properly into a new Holdings. Ask A-M if questions or issues with testing/importing

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

7

Checklist

hide

TestRail: Results

Activity

Show:

Ann-Marie BreauxJune 9, 2020 at 1:51 PM

No problem I'll close this ticket and create a new MOD ticket for the MARC-related part.

Oleksii KuzminovJune 9, 2020 at 8:53 AM

Hello !
We discussed not passed scenario and it looks like we need a little bit to extend logic on backend. We can change it from UI but it is not the best option.
Can you create separate task/bug for the backend?

Ann-Marie BreauxJune 9, 2020 at 7:15 AM

Hi See attached testing video from folio-snapshot. All looks good with the location dropdown in the holdings and item field mapping profiles, and when I default locations into the holdings and item field mapping profiles.

I tried mapping the holdings permanent location from the 980$d (as shown in the attached MARC profile) and the holdings record failed to create. Ideally a user should be able to supply 1) the location code, 2) the location name, or 3 the location name (code) in a MARC field and have it map into the holdings/items properly. I'll settle for just the code though. Should I create a separate bug for that or change this one back to In progress?

Thank you!

Ann-Marie BreauxJune 3, 2020 at 2:01 PM

Hi and Added a sample MARC file that has location code in 980$d of each record. Thank you!

Ann-Marie BreauxMay 13, 2020 at 5:28 AM

Added the longer location list from Missouri State, and clarified the expected behavior in the description.

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Folijet

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created May 4, 2020 at 10:16 AM
Updated November 8, 2021 at 9:15 PM
Resolved June 9, 2020 at 1:52 PM
TestRail: Cases
TestRail: Runs