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

Process title rules not validated during process creation #6055

Open
solth opened this issue Apr 29, 2024 · 0 comments
Open

Process title rules not validated during process creation #6055

solth opened this issue Apr 29, 2024 · 0 comments
Labels

Comments

@solth
Copy link
Member

solth commented Apr 29, 2024

Describe the bug
Process titles in Kitodo.Production are not allowed to contain white spaces or other non-alphanumerical special characters apart from underscore ("_") and hyphen ("-") because the process title is used as a folder name during export. These constraints are validated when editing a process (see first screenshot below). However, the same rules are not enforced when creating a process. This leads to processes with invalid titles that can (and will) produce errors during export. (second screenshot)

To Reproduce
Steps to reproduce the behavior:

  1. Create a process using the "New process" form
  2. Manually enter a process title containing spaces
  3. Save the new process
  4. See the invalid process title

Expected behavior
The process title rules should be checked during process creation as well.

Screenshots
Invalid process titles are prevented when editing a process:
Bildschirmfoto 2024-04-29 um 14 05 47

Invalid process titles are NOT prevented when creating a process:
Bildschirmfoto 2024-04-29 um 14 06 59

Release
Current master (3.7.0-SNAPSHOT) and all versions of 3.6.x

@solth solth added the bug label Apr 29, 2024
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