Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frontend: avoid a duplicated "exists" check
The commit 609d369 only partly resolved the TOCTOU effects (which we are not fixing here either). The problem being fixed now is that we duplicated the duplication check, - once in the `validate_on_submit()`, then - using the `add(check_for_duplicates=True)`. The later check is wrong though, because it raises an exception that is not handled properly (exist_ok=True ignored). Complements: fdff0c8 Complements: 609d369 Fixes: fedora-copr#3471
- Loading branch information