404 when redirecting on error doing an import
Doing the pre-checks the redirect with the warning flash seems to be wrong and a 404 page is displayed.
In order to replicate:
- New Project
- Choose a name (use one already taken)
- Add an import file
- 404 is displayed