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

Adding further processes in a complexer hierarchy from Kalliope throws a misleading ruleset error #5596

Closed
subhhwendt opened this issue Mar 14, 2023 · 5 comments · Fixed by #6180
Assignees
Labels
bug ruleset ruleset functions and configuration scheduled issues already planned/"ordered" for implementation

Comments

@subhhwendt
Copy link
Collaborator

Describe the bug
Kitodo 3 denies creating a process in a complexer hierarchy with a hint for a mistake in ruleset - but a retry in choosing the parent process leads to success in process creating.

To Reproduce
Steps to reproduce the behavior:

  1. Importing a first letter of a new bundle in Kitodo will work including all requested hierarchy level - screenshot 1
  2. The next letter leads at first to this message in the tab Titelsatzverknüpfung: Sie können den Vorgang nicht mit diesem Titelsatz verknüpfen, da der ausgewählte DocType an keiner Stelle als Kind erlaubt ist" - screenshot 2
  3. Repeating the choice of the parent process in the tab "Titelsatzverknüpfung" will bring success in creating the same process with the same ruleset - screenshot 3

Expected behavior
Adding processes in complex hierachies without misleading errors

Screenshots
Screenshot 1
grafik

Screenshot 2 Error message
grafik

Screenshot 3 Success with the same process and ruleset
grafik

Release
Release 3.5

@subhhwendt subhhwendt added bug scheduled issues already planned/"ordered" for implementation ruleset ruleset functions and configuration labels Mar 14, 2023
@solth solth self-assigned this Mar 16, 2023
@solth solth added this to the Kitodo.Production 3.6.0 milestone Mar 24, 2023
@solth
Copy link
Member

solth commented Apr 26, 2023

@subhhwendt I do remember encounteriung this error in the past. However, I am unable to reproduce it in the current master. Could you test with your preview branch whether the problem has been fixed for you, too?

@subhhwendt
Copy link
Collaborator Author

I have tested the described constellation with the branch you prepared for us. And I can confirm that an import of a letter in an existing hierarchy works well without any error message :)

@solth
Copy link
Member

solth commented May 5, 2023

Closed as not reproducible.

@solth solth closed this as not planned Won't fix, can't repro, duplicate, stale May 5, 2023
@subhhwendt
Copy link
Collaborator Author

I have to reopen this nasty issue for Version 3.6.1 :(

grafik

@subhhwendt subhhwendt reopened this Mar 7, 2024
@solth solth removed this from the Kitodo.Production 3.7.0 milestone Jul 19, 2024
@solth
Copy link
Member

solth commented Aug 9, 2024

The cause for this issue seems to be that determining the valid points where a new child process can be inserted into an existing process hierarchy uses the doc type from the first tab "Process data", but the doc type classification has not yet been completed at this point, so the "insertion tree" is created with the (wrong) default value of the doc type selection menu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ruleset ruleset functions and configuration scheduled issues already planned/"ordered" for implementation
Projects
None yet
2 participants