Skip to content

Missing audit log entry when deleting bitstreams #5405

Description

@alegontarz

Describe the bug

When a bitstream is deleted, no corresponding entry is created in the audit logs.
According to the documentation, the auditing system should log events that modify the state of DSpace objects, including:

  • Creation
  • Updates
  • Deletions
  • Removals

Since bitstream deletion changes the state of a DSpace object, this action is expected to appear in the audit logs, but currently it does not.

To Reproduce

Steps to reproduce the behavior:

  1. Log in to DSpace with permissions to delete bitstreams.
  2. Select an item containing one or more bitstreams.
  3. Delete a bitstream.
  4. Check the audit logs.

Expected behavior

A deletion event for the bitstream is recorded in the audit logs.

Related work

No audit log entry is created for the deleted bitstream.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcomponent: audit trailRelated to the Audit Trail systemhelp wantedNeeds a volunteer to claim to move forwardtestathonReported by a tester during Community Testathon

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions