(Sprint Consortia env) Cannot open "MARC bib" for edit after link was removed via Data Import in Member tenant

Description

Overview: Cannot open "MARC bib" for edit after link was removed via Data Import in Member tenant

Preconditions:

1) Shared MARC bib record linked to a shared MARC authority records exists in the system. You can import the attached .mrc files to Central tenant in link "630" field of bib to authority

2) The job profile should be created for "Data import" app: "Update MARC Bib records by matching 999 ff $s subfield value " in Member tenant. 

In match profile, MARC Bibliographic field in incoming record (same for Existing MARC Bibliographic record ):

  • Field: 999

  • Ind 1: f

  • Ind 2: f

  • Subfield: s

See this test case for detailed instructions - https://foliotest.testrail.io//index.php?/tests/view/1985499

Steps to Reproduce:

  1. Log into https://folio-testing-sprint-consortium.ci.folio.org/ as User with following permissions in Central, Member tenants:

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

    2. Inventory: All permissions

    3. quickMARC: View, edit MARC bibliographic record

    4. UI: Data export module is enabled

  2. Fill search input field with the title of shared "MARC Bib" record from Preconditions (e.g., "C407696 Marvel comics direct distributors meeting / Marvel Comics Group.") → Click "Search" button

  1. Check the checkbox that is displayed next to the "Instance" record from Preconditions on the search result pane
    For example: "C407696 Marvel comics direct distributors meeting / Marvel Comics Group."

  2. Click on the "Actions" button on the second pane and select "Export Instances (MARC)" option

  3. Go to "Data export" app

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

  5. Open file in "MarcEdit" or any similar program for editing "MARC" files

  1. Update "$0" in linked field (ex.: add "001" at the end of "$0" value in "630" field)

  2. Save the updated ".mrc" file

  1. 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

  2. Click on the created in precondition "Update MARC Bib 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

  3. Go to "Inventory" app

  4. Fill search input field with the title of shared "MARC Bib" record from Preconditions (e.g., "C407696 Marvel comics direct distributors meeting / Marvel Comics Group.") → Click "Search" button

  5. Click "Actions" button in the third pane → Select "Edit MARC bibliographic record" option

Expected Results: QuickMARC editing window is opened with previously linked field unlinked and "$0" updated

Actual Results: "Record cannot be found or loaded." notification shown. Error shown in DevTools (see screencast)

Additional Information:

  • See attached screencast:

  • Not reproduced when updating on Central tenant

  • Not reproduced when updating not linked record

  • Was not able to test on Spitfire consortia rancher - cannot create Import profiles due to error

Interested parties:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

8
  • 13 Nov 2023, 02:10 PM
  • 13 Nov 2023, 02:10 PM
  • 08 Nov 2023, 07:21 AM
  • 07 Nov 2023, 09:26 AM
  • 07 Nov 2023, 09:26 AM
  • 07 Nov 2023, 09:14 AM
  • 07 Nov 2023, 09:14 AM
  • 20 Oct 2023, 03:14 PM

Checklist

hide

TestRail: Results

Activity

Show:

Yauhen Viazau November 13, 2023 at 2:10 PM

Verified on https://folio-tmp-test-cs00000int.ci.folio.org/ - works as expected :check_mark:

See attached screencasts:

  •  

JenkinsNotifications November 9, 2023 at 8:21 PM

Deployed to the Poppy bf env. Moved status to In bugfix review from status Awaiting deployment. Please proceed with the verification.

Yauhen Viazau November 8, 2023 at 7:22 AM

Re-tested after additional fix was deployed to https://folio-testing-sprint-consortium.ci.folio.org/ - works as expected :check_mark:

Shared bib record can be opened for edit in all tenants after link has been removed via Data import update. Normal instance or shadow copy.

See example:

Notes:

  • again, tested using college_admin and consortium_admin due to issues on Sprint environment

  • will be re-tested during Sprint testing when environment is updated

Yauhen Viazau November 7, 2023 at 9:30 AM

Tested on https://folio-testing-sprint-consortium.ci.folio.org/ - issue is still reproducible

Could not test as a user due to Data import not being accessible for a user

Tested as college_admin (exporting/importing) and as consortium_admin (opening updated record). Consortium admin cannot access Data import on College, and College admin cannot open shared records. I suspect, the environment is not fully ready for testing now

But when updated record is opened by consortium_admin, "Record cannot be found or loaded." notification is shown, as well as error shown in DevTools. See screencasts:

  •  

Pavlo Smahin November 6, 2023 at 5:05 PM

, I was not able to reproduce the issue. Please verify.

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

Release

Poppy (R2 2023) Bug Fix

RCA Group

Implementation coding issue

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created October 20, 2023 at 3:12 PM
Updated January 3, 2024 at 3:21 PM
Resolved November 8, 2023 at 12:33 PM
TestRail: Cases
TestRail: Runs

Flag notifications