"Are you sure?" modal is not shown when updating and saving linked MARC authority in Member tenant

Description

Overview: "Are you sure?" modal is not shown when updating and saving linked MARC authority in Member tenant

Preconditions: System should contain shared MARC bib record linked to shared MARC authority record:

  • You can import attached file "C407633_MARC_Auth_Shared_Central.mrc" via "Data import" app using "Default - Create SRS MARC Authority" job profile to Central tenant

  • You can import attached file "C407633_MARC_Bib_Shared_Central.mrc" via "Data import" app using "Default - Create instance and SRS MARC Bib" job profile to Central tenant

  • The "100" MARC field (with the "C407633 Lentz Shared" value in the "$a" subfield) of imported shared "MARC Bibliographic" record ("C407633 Instance Shared 1") must be linked to the "100" field of imported shared "MARC Authority" record ("C407633 Lentz Shared")

Steps to Reproduce:

  1. Log into https://folio-tmp-test-cs00000int.ci.folio.org/ as User with following permissions in Central and Member (College) tenants:

    • Inventory: All permissions

    • MARC Authority: View MARC authority record

    • MARC Authority: Edit MARC authority record

    • quickMARC: View, edit MARC authorities record

    • quickMARC: View, edit MARC bibliographic record

  2. Switch affiliation to Member tenant (use "College")

  3. Open MARC authority app

  4. Search for and open detail view of linked shared authority record (e.g., "C407633 Lentz Shared")

  5. Click on the "Actions" menu button on the third pane → Select "Edit" option

  6. Edit "1XX" field

  7. Click on the "Save & close" button

Expected Results:

  • "Are you sure?" modal appears with following text:

    • 1 bibliographic record is linked to this authority record and will be updated by clicking the Save button.

    • (Note: number of records in modal includes all records linked to this "MARC Authority" visible from current tenant)

  • After clicking "Save" in appeared modal, notification appears with following text:

    • "This record has successfully saved and is in process. 1 linked bibliographic record(s) updates have begun." notification appears

    • (number is the same as in modal)

Actual Results:

Described modal and notification are not shown. Record saved and updated as expected in all tenants

Additional Information:
See attached screencast:

Interested parties:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

8

Checklist

hide

TestRail: Results

Activity

Show:

Valery_Pilko December 11, 2023 at 5:15 PM

Verified on ECS Poppy bugfest environment - issue is fixed.
See attached screencast:

I'm closing this issue.

cc:  

JenkinsNotifications December 11, 2023 at 3:19 PM

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

Valery_Pilko December 8, 2023 at 1:19 PM

Verified on https://folio-dev-spitfire-consortium.ci.folio.org/ - issue was fixed.
See attached screencast:

Yauhen Viazau December 1, 2023 at 10:54 AM

This scenario is included in several existing test cases, and was passing when original tickets were tested.
I believe that RCA group should be reconsidered according to https://folio-org.atlassian.net/wiki/pages/viewpage.action?spaceKey=DQA&title=Jira+Fields%3A+Root+Cause+Analysis+%28RCA%29+for+Bugs 

, , - please review

Pavlo Smahin November 21, 2023 at 2:01 PM

Hi , I think simlar issue was already discussed, and proposed solution was not to use https://folio-tmp-test-okapi.ci.folio.org/links/authorities/bulk/count endpoint but use search endpoint with quering by authority id:

In the response you will have field "numberOfTitles", and this is what you need to show correct numbers.

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

Release

Poppy (R2 2023) Bug Fix

RCA Group

Legitimate regression

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created November 9, 2023 at 1:15 PM
Updated December 11, 2023 at 5:15 PM
Resolved December 8, 2023 at 2:18 PM
TestRail: Cases
TestRail: Runs