kitodo-production
kitodo-production copied to clipboard
Saving new project with title of existing project leads to error that is only logged in background
Describe the bug When a new project is created and the name/title of an existing project is entered before saving, the project is not saved proberly. That is correct behaviour, because projects should have unique titles. Instead, the following error message appears in the logs:
These unhandled FacesMessages are:
- Es ist ein Fehler aufgetreten: Der Projekttitel wird bereits verwendet.
To Reproduce Steps to reproduce the behavior:
- Go to "Projects" list
- Click "New" button and then "Project" button
- Enter the name of an already existing project
- Click "Save"
- Nothing happens
- Check log
Expected behavior Instead of hiding the error message in the logs, a message in the GUI should inform the user that the project title is already in use.
Release 3.7, current master