"Version history" of local MARC bib promoted to be Shared is not cleared in Member tenant

Description

Overview: according to requirement 14 from : we shouldn’t retain the history of the Local record which was promoted to be Shared.

Steps to reproduce:

  1. Authorize as admin user on ECS environment.

  2. Switch active affiliation to “Member” tenant.

  3. Go to “Inventory” app

  4. Find “Local” MARC bibliographic record which has multiple “Versions”

  5. Click "Actions" button on the third pane → "Share local instance" → "Share"

  6. Click on the "Actions" button on the third pane → “View source” and note “999 ff $s” value

  7. Send GET to the “/audit-data/marc/bib/<noted UUID>” in the Member tenant.

Expected result: Version history is cleared on Member tenant for Local record, which was promoted to be Shared.
Actual result: Version history of Local record is retained on Member tenant.


For shared record - works as expected, only “Create” event of Shared record is stored.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

6

Checklist

hide

Activity

Show:

Christine Schultz-Richert April 2, 2025 at 12:08 PM

Hey - We don’t need to do additional work to clear the audit log storage on member tenant after the instance was shared. I will close as Won’t do.

- please let me know if you disagree.

Valery_Pilko April 2, 2025 at 10:21 AM

Checked on Eureka Sprint testing environment.
1) After Instance was Shared - correct version history (from Central tenant) displays when user view Shared record from Member tenant UI.
2) Version history of Local Instance (before Sharing) is still stored in “Audit log” of Member tenant.
Hey , - could you please confirm that we don’t need to clear “Audit log” storage on Member tenant after Instance was shared?
If we don’t need - this ticket could be closed as “Won’t do”

NOTE: this versions will not be displayed on UI, because after Sharing we’re sending request to Central tenant to view “Version history” from Member/Central tenant.
See details on screencast:

Valery_Pilko March 24, 2025 at 8:52 AM

Hi - I understand that audit records of Local records which were promoted to be Shared will not be visible from UI. But we still store version history records of Local records after sharing, and it could be viewed via API.
If we don’t want to clear version history of Local MARC bib after it was promoted to be shared, then current ticket is not needed.

FYI: Spitfire team done it for FOLIO records
cc: ,

Mariia Aloshyna March 19, 2025 at 11:12 PM

Check this issue when is done, it might be related

Ryan Taylor March 19, 2025 at 2:00 PM

- I’ve converted this ticket to UIIN as discussed at refinement. Per discussion with the team, we want the Audit logs to pull from Central tenant when Instance shared. Our expectation is that for Shared Instances, the version history looks the same whether viewing in Central Tenant or Member Tenant. Thanks!

Won't Do

Details

Assignee

Reporter

Priority

Development Team

Release

RCA Group

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created March 11, 2025 at 2:21 PM
Updated April 2, 2025 at 12:08 PM
Resolved April 2, 2025 at 12:08 PM
TestRail: Cases
TestRail: Runs