Edit MARC authority: Handling updates 1XX or 010 $a value
Description
Environment
Potential Workaround
Attachments
has to be done after
relates to
Checklist
hideTestRail: Results
Activity

Valery_PilkoJanuary 19, 2023 at 5:47 PM
Verified on Snapshot-2 environment - works as expected.
Note: Verified only UI part of "MARC authority" app, other requirements relate to back-end and will be verified in scope of:
See attached screencast:

Khalilah GambrellDecember 27, 2022 at 2:00 PM
Scenarios 1 and 2 - are an edge case and I will create a user story
Scenario 3 - No different than any other field that is not the 001 and 1XX
Scenario 4 - No different than any other field that is not the 001 and 1XX
Scenario 5 - Separate user story - We could support the ability to change the $0 values.

Valery_PilkoDecember 27, 2022 at 1:48 PM
Hi
I have a couple more questions:
In each scenario, user is on editing window of "MARC Authority" which is linked to "MARC Bib"
1. What should happen with a link when a user edits the tag value "010" (which "$a" value is stored in "$0" of linked "MARC Bib") to "011" and saves the record?
The Update linked bib fields confirmation modal will display?
2. What should happen with a link when a user deletes "010" field (which "$a" value is stored in "$0" of linked "MARC Bib") and saves "MARC Authority" record?
The Delete fields modal will display?
The Update linked bib fields confirmation modal will display?
3. What should happen with a link when a user adds a "010" field with valid "$a" value (the value from "001" of "MARC Auth" is stored in "$0" of linked "MARC Bib") and saves "MARC Authority" record?
The Update linked bib fields confirmation modal will display?
4. What should happen with a link when a user deletes a "010" field with invalid "$a" value (for example: "554232") (the value from "001" of "MARC Auth" is stored in "$0" of linked "MARC Bib") and saves "MARC Authority" record?
The Update linked bib fields confirmation modal will display?
5. What should happen with a link when a user edits a "010" field with invalid "$a" value (for example: "554232") to valid value (for example: "n554232") (the value from "001" of "MARC Auth" is stored in "$0" of linked "MARC Bib") and saves "MARC Authority" record?
Note: the value from 010 is in priority on 001.
The Update linked bib fields confirmation modal will display?

Valery_PilkoDecember 27, 2022 at 8:39 AM
Hi
The Update linked bib fields confirmation modal doesn't appear when user edit "Reference" or "Auth/Ref" type of "MARC Authority" record which has link(s) with "MARC Bib" record(s).
And it works as expected for "Authorized" type of "MARC Authority" records.
See attached screencast for clarification:

Valery_PilkoDecember 23, 2022 at 12:52 PM
Hi
I have a question about one of the extended scenarios:
1. Open "MARC Authority" record with "100" field (doesn't have "$t"), which is control field in "MARC Bib(s)"
2. Add the "$t" to the "100" field.
3. Click on the "Save & close"/"Save & keep editing"
4. In the appeared "Are you sure?" modal click in the "Save & close" / "Save & keep editing"
Actual result:
1) The error toast notification is displayed with the following message (under the displayed modal):
"Cannot add a $t to the 100 field because it controls a bibliographic field(s) that cannot control this subfield. To change this 1XX value, you must unlink all controlled bibliographic fields that cannot control $t."
2) "Are you sure?" modal still displayed
Maybe we should close this pop-up modal when error toast notification is displayed?
See screenshot:
Details
Assignee
Denys BohdanDenys BohdanReporter
Khalilah GambrellKhalilah GambrellLabels
Priority
P3Story Points
3Sprint
NoneDevelopment Team
SpitfireRelease
Orchid (R1 2023)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee

Reporter

Requirements 1 - Show a Update linked bib fields confirmation modal
Assume that the MARC authority record has MARC bib fields linked
Given a cataloger edits an Authority record's 010 $a or 1XX or both fields at the same time
AND the the authority record is linked to a bib field
When the cataloger hits a Save button
Then show the Update linked bib fields confirmation modal
Update linked bib fields confirmation modal Mockup
Modal header: Are you sure?
Modal messaging: <<total number of bib records linked to the authority record>> bibliographic records are linked to this authority record and will be updated if the <<applicable Save button>> is clicked.
Modal buttons
Keep editing : Returns user to the form without saving changes
Save & close: Display this button if the user clicks the Save & close button. Clicking this button saves record changes and returns user to the three pane layout.
Save & editing: Display this button if the user clicks the Save & continue editing button. Clicking this button saves record changes and keeps user on the Edit MARC authority record.
Esc key handling: If user hits the Esc key when the modal is open then the behavior is the same as the Keep editing button
Requirement 2 - Successful Save - Linked bib records - Update 010 $a
Given user updates the authority record 010 $a from ns 090940 to ns 0909041
When the process to update the linked bib field(s) is complete
AND I edit/view a MARC bib record that includes the linked bib field
Then the linked bib field
remains linked and controlled by the authority record
$9 remains the same
the only change is $0 where the unique identifier updates to <<base URL>>/ns0909041
Requirement 3 - Successful Save - Linked bib records - Update 1XX
Given user updates the authority record FROM 100 $a Snow, Jon $d 2011 TO 100 $a Snow, Jon $d 2011 - 2019
When the process to update the linked bib field(s) is complete
AND I edit/view a MARC bib record that includes the linked bib field (700)
Then the linked bib field (700)
remains linked and controlled by the authority record
linked 700 bib field will be updated to 100 $a Snow, Jon $d 2011 - 2019
Requirement 4 - Successful Save - Linked bib records - Update any field BUT 010 $a or 1XX
Given user updates an authority record 670 field
AND does not update the authority record's 010$a or 1XX fields
When user hits Save button
Then do not show the Update linked bib fields confirmation modal because it does not change linked bib field values
AND thus there should be no attempt to update linked bib records
AND successful toast notification displays: Record has been updated. (same as current implementation)
Requirement 5 - Successful Save - NO Linked bib records - UPDATES TO ANY FIELDS
Given user updates the authority record FROM 100 $a Snow, Jon $d 2011 TO 100 $a Snow, Jon $d 2011 - 2019
When the authority record is not linked to a bib record
AND the user clicks either Save button
Then no change to current behavior. Save the updates AND show the successful toast notification
Requirement unsuccessful 6 - Save - NO Linked bib records - UPDATES TO ANY FIELDS
Given user updates the authority record FROM 100 $a Snow, Jon $d 2011 TO 100 $a Snow, Jon $d 2011 - 2019
When the authority record is not linked to a bib record
AND error occurs
AND the user clicks either Save button
Then no change to current behavior. Save the updates AND show the unsuccessful toast notification