Done
Details
Assignee
Pavlo SmahinPavlo SmahinReporter
Yauhen ViazauYauhen ViazauPriority
P2Story Points
2Sprint
NoneDevelopment Team
SpitfireRelease
Poppy (R2 2023) Bug FixRCA Group
Legitimate regressionAffected releases
Poppy (R2 2023)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Pavlo Smahin
Pavlo SmahinReporter
Yauhen Viazau
Yauhen ViazauPriority
Story Points
2
Sprint
None
Development Team
Spitfire
Release
Poppy (R2 2023) Bug Fix
RCA Group
Legitimate regression
Affected releases
Poppy (R2 2023)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created October 24, 2023 at 12:56 PM
Updated March 25, 2024 at 4:03 PM
Resolved October 27, 2023 at 2:45 PM
Overview: MARC authority record still assigned to Authority source file after prefix removed from naturalId (or 010 field removed)
Preconditions:
A job profile created for updating MARC authority records by matching 999 ff $s subfield value
MARC authority record having 001 without prefix and 010 $a with valid prefix exists in the system (you can import attached .mrc file using "Default - Create SRS MARC Authority" job profile)
See this test case for instructions on creating data import profiles - https://foliotest.testrail.io//index.php?/cases/view/350669
Scenario 1
Steps to Reproduce:
Log into https://folio-snapshot.dev.folio.org/ as User with following permissions:
Data import: Can upload files, import, and view logs
MARC Authority: View MARC authority record
UI: Data export module is enabled
Go to MARC authority app
Search for MARC authority record having (ex.: "Roberts, Julia, 1967-"):
001 without prefix
010 $a with valid prefix
Check the checkbox next to record from Precondition in second pane
"Actions" in second pane → "Export selected records (CSV/MARC)"
Go to "Data export" app
Download exported ".mrc" file by clicking on the "File name" column value
Open downloaded ".mrc" file via "MarcEdit" (or any similar app)
Delete the "010" field with values
Save the edited ".mrc" file
Go to the "Data import" app
Import updated .mrc file using update profile from Preconditions (ex.: "Update MARC authority records by matching 999 ff $s subfield value")
Go to MARC authority app
Search for the same MARC authority record (ex.: "Roberts, Julia, 1967-")
Verify options in "Authority source" facet
Scenario 2
Steps to Reproduce:
Log into https://folio-snapshot.dev.folio.org/ as User with following permissions:
MARC Authority: View MARC authority record
MARC Authority: Edit MARC authority record
quickMARC: View, edit MARC authorities record
Go to MARC authority app
Search for MARC authority record having (ex.: "Roberts, Julia, 1967-"):
001 without prefix
010 $a with valid prefix
Open record's detail view
In detail view: "Actions" → "Edit"
Remove prefix from 010 $a
Click "Save & close"
Verify options in "Authority source" facet
Expected Results:
Only "Not specified" option should be shown
Actual Results:
Only option corresponding to prefix in removed field is shown (ex.: "LC Name Authority file (LCNAF)")
Additional Information:
See attached screencasts:
If updated authority record has MARC bib records linked, base URL prefixes in those bib records would not be updated too
If prefix changed (not removed) - record updated correctly
Interested parties: