[mapguide][MG192][New] Fixed selection problem in Site Admin's "Manage Servers" pag...

Louise Watson louise.watson at autodesk.com
Thu Apr 6 11:09:48 EDT 2006


You can view the artifact detail at the following URL:

    https://mapguide.osgeo.org/servlets/Scarab/id/MG192

Type
 Defect

Artifact ID
 MG192 (Fixed selection problem in Site Admin's "Manage Servers" page)

Reported by
 Louise Watson
 louisewatson (louise.watson at autodesk.com)

New artifact details:
---------------------------------------------------------

- Operating system set to new value
  All
- Description set to new value
  This artifact reports a problem with the server selection in Site Admin's "Manage Servers" page.  The problem manifests itself when the Status toolbar button or the Delete button is used.  Basically, the wrong selection could be used by either of these toolbar buttons and/or the selection might be changed.
- Priority set to new value
  P2
- Resolution Description set to new value
  Throughout the Site Admin the current value of selections is maintained with the PHP session variables.  For the most part, toolbar buttons set an action value and submit the form.  Once we are back in PHP, the current values of selections are stored in the session vars and the browser is redirected to another page, if appropriate.

The problem is that the delete and status buttons of the "Manage Servers" page operate differently than most of the Site Admin toolbar buttons.  Status pops up another window and delete only conditionally needs a form submission.  

In the case of the Status button, Site Admin was submitting the form in an attempt to force the selection values to be saved.  The trouble was that the popup window accessed the session vars before the form had them saved and, so, an old value was retrieved.  

In the case of the Delete button, most of the time things worked fine.  However, at times the unnecessary submit caused a flash and a change in the selection (back to the old value) as well as a browser error.

The fix was to eliminate the call to submit the form in these erroneous cases.  For the Status button, the current selection is now passed with the HTTP Get values.  In the case of the Delete button, the form is only submitted when a deletion is confirmed.
- Version set to new value
  1.0.0
- Artifact Status set to new value
  New
- Target milestone set to new value
  1.0.0
- Subcomponent set to new value
  Web API
- Artifact created
- Defect Severity set to new value
  High
- Status Explanation set to new value
  This problem could be quite confusing to the user.  In addition, further investigation showed that there were situations where the selection might change or be ignored - a very frustrating situation for the user.
- Steps to Reproduce set to new value
  1.  Invoke Site Admin and add a support server to the site (it can be a non-operational server), called Support1.
2.  Go to the Manage Servers page and see that the current selection is the Site server.
3.  Select Support1 and hit the Status toolbar button.  
4.  The status window pops up with a title stating that the window shows the status of the Site Server while the page text says that the status of Support1 is currently displayed.

- Platform set to new value
  All
- Summary set to new value
  Fixed selection problem in Site Admin's "Manage Servers" page
- Component set to new value
  Web Server Extensions
- Resolution set to new value
  Submitted

---------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Mapguide_issues mailing list