Skip to content

Media cannot be removed via context menu in metadata editor #6684

@solth

Description

@solth

Describe the bug
Deleting media via the context menu option of the structure tree and gallery of the metadata editor does not remove the media anymore.

To Reproduce
Steps to reproduce the behavior:

  1. Open a process with media in the metadata editor
  2. Open the context menu for a node in the structure tree representing a media element (e.g. a page or track)
  3. Click the option "Delete media" in the context menu
  4. See that media is not removed

Expected behavior
Deleting media via the context menu of the structure tree of gallery in the metadata editor should work

Screenshots

Bildschirmaufnahme.2025-09-25.um.10.38.41.mp4

Release
3.9.0.RC1, current main branch

Additional context
Deleting media via the context menu does work in Kitodo 3.8.x and presumably has been broken by the integration of hibernate-search. 

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions