Project

General

Profile

Actions

Bug #866

closed

new session uploadimage.php does not behaves properly in form-reload and in login/logout

Added by Anchi Cheng over 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Eric Hou
Category:
-
Target version:
Start date:
09/08/2010
Due date:
% Done:

100%

Estimated time:
Affected Version:
Appion/Leginon 2.0.2
Show in known bugs:
No
Workaround:

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

Actions #1

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
Actions #2

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.

Actions #3

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
Actions #4

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
Actions #5

Updated by Eric Hou about 14 years ago

  • Status changed from In Test to Closed
Actions

Also available in: Atom PDF