Bug #866
closednew session uploadimage.php does not behaves properly in form-reload and in login/logout
100%
Description
Because it only has projectId not expId, special cases need to be created in redirect functions. We have revert the new style submitOrShowCommand function. I'd like to revert it back so that new features can be added there.
Examples of current problems with the old-styled showCommand approach:
1. When a user login for ssh2, the page is denied access because endsession.php does not handle it.
2. menuprocessing does not allow link to uploadimage.php from index.php?projectId=xx
Updated by Anchi Cheng over 14 years ago
- Subject changed from new session uploadimage.php does not behaves properly in form reload and in login/logout to new session uploadimage.php does not behaves properly in form-reload and in login/logout
Updated by Anchi Cheng over 14 years ago
- Assignee changed from Anchi Cheng to Amber Herold
- % Done changed from 0 to 100
inc/processing.inc changes to handle the two uploadimage.php cases are in r17755
revert uploadimage.php and made other modifications in r14760
Testing:
1. select to upload images to new session from a project/getproject.php page
2. ssh2 login. The page should still be intact, not redirect to accessdeny.php
3. ssh2 logout. The index.php should appear and the submenu for "upload image" should be clickable and should link to uploadimage.php?projectId=xx
4. uploadimage.php from the project should function normally. i.e., will upload image to the database once parameters are entered.
Updated by Amber Herold over 14 years ago
- Status changed from Assigned to In Code Review
- Target version set to Appion/Leginon 2.1.0
Updated by Amber Herold over 14 years ago
- Status changed from In Code Review to In Test
- Assignee changed from Amber Herold to Eric Hou