All history of deleted "MARC authority" still exist in "Audit log" API

Description

Overview: All history of deleted "MARC authority" still exist in "Audit log" API.
According to question 23 in history of MARC authority record must be removed when authority record is deleted from the UI/data import action.

Steps to reproduce:

  1. Go to “MARC authority” app

  2. Find any “MARC authority” record and note it’s 999 ff $s value

  3. Delete found “MARC authority” record (“Actions”>>”Delete”)

  4. Send GET '/audit-data/marc/authority/{noted UUID of MARC authority record}'

Expected result: Response body contains only 1 version with information about record deletion.
Actual result:
1) Deletion of “MARC authority” record is tracked by "Audit log" API as “Updated” action.
2) All previous versions (Create and Updates) are still exist in “Audit log” API after record was deleted.

See attached screenshots:
Created and Updated record:

Record has been deleted:

“Audit log” API response:



CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

3

Checklist

hide

Activity

Show:

Valery_Pilko last week

Note: test case is updated according to updated requirement

Christine Schultz-Richert March 18, 2025 at 1:54 PM

Decision was made to not fix this bug and instead update requirements to allow for the retention of the history of deleted MARC authority records

Christine Schultz-Richert March 10, 2025 at 1:36 PM

Hey - if it is easier to keep the audit history in the log when an authority record is deleted, I’m fine keeping it and not fixing this current behavior. do you agree?

Valery_Pilko March 10, 2025 at 10:05 AM
Edited

Hi
Please review and decide if we need to fix current behavior. If no - please update confluence page with requirements.
cc: ,

Won't Do

Details

Assignee

Reporter

Priority

Development Team

Folijet

Release

Not Scheduled

RCA Group

TBD

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created March 10, 2025 at 10:03 AM
Updated last week
Resolved March 18, 2025 at 1:54 PM
TestRail: Cases
TestRail: Runs