BE - Edit MARC Authority record | MARC field 010 is not repeatable

Description

Requirement:  When a user edits a MARC authority record,  only allow one 010 field since 010 is a not repeatable field (https://www.loc.gov/marc/authority/ad010.html

Error message to display when user attempts to save multiple 010 fields - Cannot save multiple 010 fields.

 

Scenario 1

Given a user edits a MARC authority record 

AND s/he adds a MARC field 010 

AND a MARC field 010 already exist

WHEN she clicks Save button

THEN display an error message - Cannot save multiple 010 fields.

 

Scenario 2

Given a user edits a MARC authority record 

AND s/he adds a MARC field 010 

AND a MARC field 010 does not exist

WHEN she clicks Save button

THEN save the record 

Environment

None

Potential Workaround

None

Attachments

3

Checklist

hide

TestRail: Results

Activity

Show:

Valery_Pilko January 18, 2023 at 12:26 PM
Edited

Verified on Snapshot environment - works as expected.
The back-end validation was added for "MARC Authority" records.
See attached screenshots:
1) User adds two "010" fields:

2) User adds one "010" field:

3) User deletes "010" field.

MARC Holdings and MARC Bibs were not affected.

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

Release

Orchid (R1 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created December 27, 2022 at 2:38 PM
Updated February 22, 2023 at 3:17 PM
Resolved January 18, 2023 at 5:58 PM
TestRail: Cases
TestRail: Runs