Bug #36515 Errors when submitting a form with invalid session
Submitted: 5 May 2008 19:51 Modified: 4 Sep 2008 15:27
Reporter: Joshua Ganderson Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Enterprise Monitor: Web Severity:S3 (Non-critical)
Version:1.3.2, 2.0.0.7014 OS:Any
Assigned to: Eric Herman CPU Architecture:Any

[5 May 2008 19:51] Joshua Ganderson
Description:
If your session is dead and you submit a form, ,the login/redirect process results in errors.

How to repeat:
Go to graphs tab.
Open a new firefox tab (or other browser) to another page in merlin.
Log out in other page.
Click the "update" button on the graphs tab.
Note that you get errors about values being null.

Suggested fix:
Not sure what the correct fix is yet. This is happening because the login/redirect process does not save the form data. Basically this is the same as navigating to a submit action rather than submitting a form to it.

Reasonable options are to 1) save the form data or 2) redirect you to the corresponding view action. I think option 1 would be cleaner for the user but may be trickier to implement.