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:
Create a process using the "New process" form
Manually enter a process title containing spaces
Save the new process
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:
Invalid process titles are NOT prevented when creating a process:
Release
Current master (3.7.0-SNAPSHOT) and all versions of 3.6.x
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:
Expected behavior The process title rules should be checked during process creation as well.
Screenshots Invalid process titles are prevented when editing a process:
Invalid process titles are NOT prevented when creating a process:
Release Current master (3.7.0-SNAPSHOT) and all versions of 3.6.x