Bug #866
closed
new session uploadimage.php does not behaves properly in form-reload and in login/logout
Added by Anchi Cheng about 14 years ago.
Updated about 14 years ago.
Affected Version:
Appion/Leginon 2.0.2
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
- 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
- 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.
- Status changed from Assigned to In Code Review
- Target version set to Appion/Leginon 2.1.0
- Status changed from In Code Review to In Test
- Assignee changed from Amber Herold to Eric Hou
- Status changed from In Test to Closed
Also available in: Atom
PDF