Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to delete templateProcess used in ImportConfiguration #6368

Open
solth opened this issue Jan 16, 2025 · 0 comments
Open

Error when trying to delete templateProcess used in ImportConfiguration #6368

solth opened this issue Jan 16, 2025 · 0 comments
Labels

Comments

@solth
Copy link
Member

solth commented Jan 16, 2025

Describe the bug
When a process is configured as templateProcess (see first screenshot) and additionally this "templateProcess" is used as "Default template process" in an ImportConfiguration of type "Process template" (see second screenshot), deleting the process via the bin symbol in the process list results in a generic error messge and leads to a corrupted index, where the process has been removed from the database but not yet from the index.

To Reproduce
Steps to reproduce the behavior:

  1. Configure a process as "Template process" (see first screenshot)
  2. Create an import configuration of type "Template process" and configure the process of the first step as "Default template process" (second screenshot)
  3. Delete process from process list (third screenshot)
  4. See error (fourth screenshot)

Expected behavior
Deleting a template process used as "Default template process" should either not be possible (display a corresponding error message to the user before it is deleted from the database, that informs him that this process cannot be removed because it is used in an ImportConfiguration) or should update or remove the corresponding ImportConfiguration automatically.

Screenshots
Screenshot 1: Configure process as "template process"
Bildschirmfoto 2025-01-16 um 10 42 32

Screenshot 2: Use said process as "Default template process" in corresponding "Import Configuration"
Bildschirmfoto 2025-01-16 um 10 50 14

Screenshot 3: Delete process via list action
Bildschirmfoto 2025-01-16 um 10 51 33

Screenshot 4: See generic error message
Bildschirmfoto 2025-01-16 um 10 51 47

Release
3.8, current main branch

@solth solth added the bug label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant