Vote #65892
未完了Editing/deleting cross-projects custom query mistakenly redirects to "All issues" page
0%
説明
If I delete a custom query, the project menu dissapears until I navigate to another page and back again (browser refresh does not work).
journals
Can not reproduce.
Please read [[SubmittingBugs]] and give steps to reproduce.
--------------------------------------------------------------------------------
It seems to be related to issue #4072.
I create a new custom query (e.g. status == open, version != backlog) without ticking "for all projects" and save it. Then edit it, enable "for all projects" and save it again.
When I delete this query the project tabs disappear.
As before using Redmine 0.8.4, which I understand includes the required Rails version. Database is MySQL.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Well I can't reproduce this with redmine 2.2.1.
Please give some feedback if this is resolved with #4072?
--------------------------------------------------------------------------------
I can reproduce on trunk. If you delete a cross-project object (a custom query for all projects), you're redirected back to the cross-project version of "/issues" instead of the project where you clicked on the "delete" action. Same if you edit a custom query with "for all projects" checked.
I'll try to fix that when I have the time, shouldn't be that hard. If anyone else wants to propose a patch with tests, you're welcome.
--------------------------------------------------------------------------------