New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TOO_MANY_REDIRECTS on report issue #1677
TOO_MANY_REDIRECTS on report issue #1677
Conversation
Thanks for your contribution. I have tested your PR, and it fixes the problem without introducing any regression (as far as I can tell). That being said, in terms of data integrity I don't think the users' default_project setting should contain an invalid project value, which can happen when a user is removed from the project, or when the project is deleted. Maybe we should enforce resetting the default project to ALL_PROJECTS in such case, what do you think ? |
As a side note, for future contributions
Unless you're using it for your own purposes, I also recommend to keep your master branch aligned with and identical to ours (i.e. |
This is indeed a feature I had considered but didn't feel like coding myself.
I will try to improve myself, I'm not a developer nor a GIT regular. Thanks for your recommendations. |
I'll take care of it.
Feel free to ask if you need help or advice. |
Because an administrator can cause this bug, I designed this feature to prevent the selection of a default project, inaccessible to a user. |
Is it better ? b8bb06338c |
f1fcbf1
to
3753e20
Compare
So I finally managed to finish testing this 😌 I reworded the commit, merged in b162f8f |
This is tracked in https://mantisbt.org/bugs/view.php?id=27144, fix is in #1691 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://www.mantisbt.org/bugs/view.php?id=26988