Bug #51334 useless "mem-form-"query params in new-style-form select controls
Submitted: 19 Feb 2010 17:26 Modified: 2 Mar 2010 10:48
Reporter: Josh Sled Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Web Severity:S4 (Feature request)
Version:2.2.0.1628 OS:Any
Assigned to: Josh Sled CPU Architecture:Any

[19 Feb 2010 17:26] Josh Sled
Description:
The Drop Down Check List control makes a copy of every <select> form control, prefixed by 'mem-form'.  All these extra control values are submitted via the query-string, but are not used.

How to repeat:
Use new-style form for e.g. Events.  Submit filter.  Copy+paste URL into IRC.  Get URL split because it's crazy long.

Suggested fix:
Strip "mem-form" query params and redirect to shorter sanitized url.
[19 Feb 2010 18:33] Enterprise Tools JIRA Robot
Josh Sled writes: 
revno: 7917
revision-id: jsled@asynchronous.org-20100219174227-pt89m1yis2d9vqz3
parent: tsugihara@mysql.com-20100219081257-ge3mm42dn9wr1tl1
committer: Josh Sled <jsled@asynchronous.org>
branch nick: local
timestamp: Fri 2010-02-19 12:42:27 -0500
message:
  EM-4100: redirect after "make defaults", stripping the token to prevent subsequent page refreshes from re-setting defaults, showing message.
  EM-4101: redirect query string without noise "mem-form-*" params, keeping URLs short and clean.
[26 Feb 2010 19:50] Enterprise Tools JIRA Robot
Keith Russell writes: 
Patch installed in versions => 2.2.0.1633.
[1 Mar 2010 18:17] Enterprise Tools JIRA Robot
Marcos Palacios writes: 
Verified fixed in Monitor build 2.2.0.1633.

URLs are now like:

http://localhost:38080/Events.action?currentSeverity=CLOSED&noDefaults=true&paging_pageSiz...

and don't have the "mem-form-" prefix anymore.
[2 Mar 2010 10:48] MC Brown
Pre-release fix, no changelog entry required.