All work

Select view

Select search mode

 
50 of 796

The marc authority record is not updated after importing file with deleted value from "010 $a"

Description

Preconditions:

  1. The job profile should be created: " Update MARC authority records by matching 999 ff $s subfield value ".
    For job profile creation use this test-case as example: https://foliotest.testrail.io//index.php?/cases/view/350669
    Note 1: For " Match criterion " when create "Match profile" use the following MARC tag:
    Field = 999
    Ind 1 = f
    Ind 2 = f
    Subfield = s

  2. The system must have 1 "MARC Authority" record that is linked to 1 "MARC Bibliographic" record.
    You can use files from the attachements:
    1) "MARC Authority" record (Import it via "Data import" app using "Default - Create SRS MARC Authority" job profile):
    MARC_Auth_110(Carleton).mrc
    2) "MARC Bibliographic" records (Import it via "Data import" app using "Default - Create instance and SRS MARC Bib" job profile):
    MARC_Bib_710(Carleton).mrc;

  3. Links to create between imported "MARC Authority" and "MARC Bibliographic" records, description:
    The "710" MARC field with "$a" value "University." of imported "Instance" record must be linked to the "110" field of imported "MARC Authority" record ("Carleton University.").
    Note: See the following test case as example how to link "MARC Bib" field to "MARC Authority" record: https://foliotest.testrail.io/index.php?/cases/view/365134

  4. You will need an app for editing "MARC" records. You can use " MarcEdit " app (see instruction below:
    Note: "UUID" is the value from "999 ff $i" subfield of "MARC Authority" record.

  5. Authorized user with the following permissions:
    Data import: Can upload files, import, and view logs
    Inventory: All permissions
    MARC Authority: View MARC authority record
    quickMARC: Can Link/unlink authority records to bib records
    quickMARC: View MARC bibliographic record
    quickMARC: View, edit MARC bibliographic record
    UI: Data export module is enabled

  6. User is on "MARC authority" pane with search results for "MARC Authority" record which was linked with "MARC Bib" (see Precondition, e.g.: "Carleton University. Anthropology Caucus 2023-").

Steps to Reproduce:

  1. Check the checkbox that is displayed next to the "MARC Authority" record which is linked to "MARC Bibliographic" record on the search result pane.
    For example: "Carleton University. Anthropology Caucus 2023-".

  2. Click on the "Action" button >> Select "Export selected records (CSV/MARC)" option

  3. Go to "Data export" app.

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

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

  6. Delete "$a" value in "010" field. (do not delete "$a" itself, only its value) For example: "010  \\ $a"

  7. Save the edited ".mrc" file.

  8. Go to the "Data import" app >> Click on the "or select files" button >> Select the updated ".mrc" file (see previous step) >> click the "Open" button

  9. Click on the created in precondition "Update MARC authority records by matching 999 ff $s subfield value" job profile >> Click on the "Actions" in the appeared third pane >> Select "Run" option >> Click on the "Run" button in appeared modal.

  10. Click on the "File name" column value of appeared row.

  11. Pay attention to the record.

Expected Results: The "Updated" value is displayed in the "SRS MARC" and "Authority" columns opposite the updated record.

Actual Results: The 'No action' status is displayed in the 'Authority' column after importing file for updating record.

Environment: https://bugfest-sunflower-consortium.int.aws.folio.org, tenant College

Error: "org.folio.inventory.dataimport.exceptions.DataImportException: Failed updating Authority. Cause: {\"errors\":[{\"message\":\"must not be null\",\"type\":\"MethodArgumentNotValidException\",\"code\":\"validation\",\"parameters\":[{\"key\":\"identifiers[1].value\",\"value\":\"null\"}]}],\"total_records\":1}, status: '422'"

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

3

Checklist

hide

Details

Assignee

Reporter

Priority

Development Team

Spitfire

RCA Group

TBD

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created 17 hours ago
Updated 17 hours ago

Activity

Show:
TestRail: Cases
TestRail: Runs

Flag notifications