MARC authority record still assigned to Authority source file after prefix removed from naturalId

Description

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:

  1. Log into https://folio-snapshot.dev.folio.org/ as User with following permissions:

    1. Data import: Can upload files, import, and view logs

    2. MARC Authority: View MARC authority record

    3. UI: Data export module is enabled

  2. Go to MARC authority app

  3. Search for MARC authority record having (ex.: "Roberts, Julia, 1967-"):

    1. 001 without prefix

    2. 010 $a with valid prefix

  4. Check the checkbox next to record from Precondition in second pane

  5. "Actions" in second pane → "Export selected records (CSV/MARC)"

  6. Go to "Data export" app

  7. Download exported ".mrc" file by clicking on the "File name" column value

  8. Open downloaded ".mrc" file via "MarcEdit" (or any similar app)

  9. Delete the "010" field with values

  10. Save the edited ".mrc" file

  11. Go to the "Data import" app

  12. Import updated .mrc file using update profile from Preconditions (ex.: "Update MARC authority records by matching 999 ff $s subfield value")

  13. Go to MARC authority app

  14. Search for the same MARC authority record (ex.: "Roberts, Julia, 1967-")

  15. Verify options in "Authority source" facet

Scenario 2

Steps to Reproduce:

  1. Log into https://folio-snapshot.dev.folio.org/ as User with following permissions:

    1. MARC Authority: View MARC authority record

    2. MARC Authority: Edit MARC authority record

    3. quickMARC: View, edit MARC authorities record

  2. Go to MARC authority app

  3. Search for MARC authority record having (ex.: "Roberts, Julia, 1967-"):

    1. 001 without prefix

    2. 010 $a with valid prefix

  4. Open record's detail view

  5. In detail view: "Actions" → "Edit"

  6. Remove prefix from 010 $a

  7. Click "Save & close"

  8. 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:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

7

Checklist

hide

TestRail: Results

Activity

Show:

Yauhen ViazauOctober 30, 2023 at 9:32 AM

Verified on https://bugfest-poppy.int.aws.folio.org/ - works as expected

When prefix removed from 010 $a in authority record, it can be found in search using "Not specified" authority source facet option (and not the one corresponding to removed prefix)

See attached screencasts as examples:

  •  

Oleksii PetrenkoOctober 28, 2023 at 9:58 AM

Deployed to Poppy bf ebv. Please proceed with verification

Yauhen ViazauOctober 26, 2023 at 2:44 PM

Tested on Snapshot-2 - one issue remains 

When prefix removed from 010 $a in authority record:

  • it can be found in search using "Not specified" authority source facet option (and not the one corresponding to removed prefix)

    •  

  • in linked bib records, base URL not removed, prefix is not removed

    •  

- please review

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

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
TestRail: Cases
TestRail: Runs