Update log JSON error message when multiple matches found: SRS

Description

Purpose: To update the Data Import log JSON error message when multiple matches are found (and so the import job cannot proceed for a particular record), so that the UUIDs of the matches are displayed (when 4 or fewer matches) and a generic message with a match count is displayed (when more than 4)

As a staff person working with errored Data Import records
I want to see more details about matches that could not resolve to a single record
So that I can investigate the issue in more detail

Note This applies to SRS MARC Bibs and MARC Authorities (since there is no match/update for MARC Holdings)

Scenarios

  1. Scenario 1

    • Given any of the log JSON screens

    • When displaying the error message for "Found multiple records matching specified conditions"

    • And there are 4 or fewer matching records

    • Then display the UUIDs of the matching records in parentheses after the error message

    • See attached mockup multi-matches 4 or fewer.png

  2. Scenario 2

    • Given any of the log JSON screens

    • When displaying the error message for "Found multiple records matching specified conditions"

    • And there are more than 4 matching records

    • Then display the following message in parentheses after the error message

    • (n records), where "n" is the number of matching records

    • See attached mockup multi-matches more than 4.png

  3. Scenario 3

    • Ensure automated testing coverage for this new code is 80% plus

See attached mockups

Environment

None

Potential Workaround

None

CSP Request Details

None

CSP Approved

None

CSP Rejection Details

None

Attachments

2
  • 19 Apr 2023, 05:28 AM
  • 19 Apr 2023, 05:28 AM

Checklist

hide

TestRail: Results

Activity

Show:

Ann-Marie Breaux September 19, 2023 at 4:27 PM

Move from Poppy to Quesnelia to reduce scope.

Details

Assignee

Reporter

Priority

Story Points

Development Team

Folijet

Release

Trillium (R2 2025)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created April 19, 2023 at 5:19 AM
Updated March 4, 2025 at 8:40 PM
TestRail: Cases
TestRail: Runs

Flag notifications