"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

5

Checklist

hide

Activity

Show:

Valery_Pilko 4 days ago

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!

Kateryna Senchenko March 19, 2025 at 12:03 PM

Hi , we do not clean the audit records when Instance is shared automatically, but they won’t be visible on UI, the version history visible to user will only be that of a shared Instance

Details

Assignee

Reporter

Priority

Development Team

Folijet

Release

Sunflower (R1 2025) Bug Fix

RCA Group

TBD

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created March 11, 2025 at 2:21 PM
Updated yesterday
TestRail: Cases
TestRail: Runs