Field mapping profiles: reset repeatable fields to neutral when all rows deleted

CSP Rejection Details

None

CSP Request Details

None

CSP Approved

None

Description

Purpose: If a user starts to map a repeatable field, and then changes their mind, there's no easy way to reset the repeatable action dropdown back to 'Select action."

Current workaround: Delete the field mapping profile and start over (which is a pain if many other fields are already mapped)

As a staff person working with data import field mapping profiles
I want to be able to reset the mapping for repeatable fields
So that I can change my mind without having to create a whole new field mapping profile

Scenarios

  1. Scenario 1

    • Given the Settings/Data import/Field mapping profiles

    • When I create or edit a field mapping profile for Instances, Holdings, or Items

    • And I start to map a repeatable field (that has a repeatable action dropdown)

    • But then I decide not to map that repeatable field after all

    • Then when I delete all repeatable rows for that field (using the trashcan at the end of each row)

    • Reset the repeatable action dropdown for that field to "Select action"

    • NOTES:

      • If user decides not to map the field at all after they have selected an action, they will need to add a row, and then immediately delete it, so that the action dropdown resets.

      • If user wants the action "Delete all existing values" they 'll need to select that again

  2. Scenario 2

    • Ensure this story passes Accessibility testing

  3. Scenario 3

    • Ensure automated testing coverage for this new code is 80% plus and confirm with screenshot

Additional Information: See attached screenshots

Environment

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Ann-Marie Breaux August 7, 2020 at 10:32 PM

Hi Tested on folio-snapshot, and all looks good. Thank you!

Done

Details

Assignee

Reporter

Priority

Story Points

Development Team

Folijet

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created July 28, 2020 at 2:57 PM
Updated November 10, 2020 at 3:57 PM
Resolved August 7, 2020 at 10:35 PM
TestRail: Cases
TestRail: Runs