404 on empty issue lists while not logged in
(I was told to post it here, although I didnt test it in a CE, but on here)
Summary
When accessing a projects empty issues list while not being logged in, the "Create" button is still there, but when it's pressed, it takes you to a 404 page.
Steps to reproduce
- Create new project
- Log out
- Go to the projects issues page
Expected behavior
When clicking the "Create" button, you should be taken to a registration/login screen.
Actual behavior
A 404 page is being shown.
Relevant logs and/or screenshots
Possible fixes
Check if user is logged in: If logged in, take him to /issues/new; else take him to the login/registration screen