Skip to content

FetchNotFoundException when deleting process with comments #6576

@solth

Description

@solth

Describe the bug
When a process contains at least one comment, deleting the process results in a FetchNotFoundException. (Checking the system afterwards, the process seems to be deleted, though)

To Reproduce
Steps to reproduce the behavior:

  1. Add a comment to a process
  2. Try to delete the process
  3. See error

Expected behavior
It should be possible to delete processes that contain comments without error

Screenshots
Image

Release
main branch

Additional context
Caused by HibernateSearch integration; does not occur in commits before #6504

Metadata

Metadata

Assignees

No one assigned

    Labels

    HibernateSearch-regressionBugs or issues introduces with the intergration of HibernateSearchbug

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions