FE: Create/Edit/Derive Bib >What happens to a unsaved when a MARC authority record is updated before user saves bib record
Description
Environment
Potential Workaround
Attachments
clones
has to be finished together with
is blocked by
is defined by
relates to
requires
Checklist
hideTestRail: Results
Activity
Yauhen Viazau July 27, 2023 at 9:24 AM
Issue described above will be addressed in scope of

Dmytro Melnyshyn July 27, 2023 at 8:48 AM
link suggestions request returns irrelevant controlled subfields, please take a look the issue described above.
Yauhen Viazau July 27, 2023 at 8:30 AMEdited
During Sprint testing, an issue was found
When Bib field is linked and link NOT saved, and then controlling subfield deleted from Authority record's field → this subfield is NOT deleted from Bib field:
Notes:
Reproducible on Snapshot and Sprint testing envs
Works OK (subfield deleted from Bib) if link is saved before updating Authority:
- please review

Valery_Pilko July 24, 2023 at 8:07 AM
Retested on Snapshot environment - works as expected (Issue 3 is fixed, blockers are done)
See attached screencasts:

Valery_Pilko July 21, 2023 at 3:11 PM
Hi
https://folio-org.atlassian.net/browse/MODELINKS-115 - doesn't block current story.
I'm waiting only for and MODQM-364 which will fix Issue 3 described in my previous comment.
Details
Details
Assignee

Reporter

Objective
Implement consistent behavior for when a user is creating/editing/deriving a bib record WITH a linked bib field that has not been saved AND at the same time another user has a.) edited the linked authority record 010 subfield a (if it populated the linked bib field subfield 0, b.) edited the 1XX number or the 1XX controlled subfield value, OR c.) deleted the authority record before the user has saved the bib record.
Requirements
Authority 010 $a change: If the authority record 010 $a is the value used to populate a linked bib field's $0 AND that 010 $a is edited WHEN user Saves the bib record THEN the bib field $0 is updated with the new 010 $a value. . Display current success toast notification (see below screenshot).
Authority 010 $a addition: If authority 010 $a has been added to an authority record (and is eligible to populate bib subfield 0) AND linked bib fields $0 were populated with authority 001 WHEN user Saves the bib record THEN the bib field $0 is updated with the new 010 $a value. . Display current success toast notification (see below screenshot).
Authority 1XX change: If the authority record 1XX controlling subfield values have been updated or removed or added WHEN user Saves the bib record THEN the linked bib field controlled values should be updated. . Display current success toast notification (see below screenshot).
Authority 1XX number change: If the authority 1XX is changed to another 1XX WHEN user Saves the bib record THEN unlink the bib field from authority record AND continue to Save record. Display current success toast notification (see below screenshot).
Authority 1XX has removed or added a $t and bib field is no longer eligible to be linked: WHEN user Saves the bib record THEN unlink the bib field from authority record continue to Save record. Display current success toast notification (see below screenshot).
Authority record deleted: WHEN user Saves the bib record THEN unlink the bib field and keep the metadata that was provided by the now deleted authority record AND continue to Save record. Display current success toast notification (see below screenshot).
Validation
Verify updates on
View source
Instance record
Create/Edit/Derive MARC bib record
Browse contributors/subjects
Current Success toast notification