- Status Confirmed
- Percent Complete
- Task Type Bug Report
- Category User Interface
- Assigned To No-one
- Operating System All
- Severity Medium
- Priority Low
- Reported Version 1.0 devel (github master)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: Flyspray - The bug killer!
Opened by thess - 08.06.2016
Last edited by peterdd - 23.07.2016
Opened by thess - 08.06.2016
Last edited by peterdd - 23.07.2016
FS#2136 - After updating user properties as admin - return to wrong screen
Logged in as admin, modify a users group membership. After clicking update, you are returned to your logged-in profile (admin in this case). It should re-display the user’s profile you are editing.
The ‘back’ button will return to updated page.
Loading...
Available keyboard shortcuts
- Alt + l Login Dialog / Logout
- Alt + a Add new task
- Alt + m My searches
- Alt + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + e ↵ Enter Edit this task
- Alt + w watch task
- Alt + y Close Task
Task Editing
- Alt + s save task
Ah, thats because actions ‘admin.edituser’ and ‘myprofile.edituser’ share the same switch/case code in includes/modify.inc.php :
and forgot to redirect to the best fitting page after it.
So we either split that code sharing - or replace the redirection at the end of the action handling with soemthing like
?
(untested, not finished, just as an idea)
Gives error: #6 invalid admin area. I think the 2nd redirect (elseif) should read:
Well, this is not nicest solution, but thats how the former devs invented that form...:
We must also pass the project_id around within the form (because it will be used to fill the $proj object in header.php we use later.
So to stay on the current project, the redirect url is like
/user/123?project=4
after switching project on a user page:
/user/123 ('all projects'-mode)
Then select project 4:
/index.php?project=4&do=user&id=123
Change group of user in project 4
and Redirect to /user/123?project=4
And we must also check that only legal group_id's of the same project can be set!