Bug #40966 If an alias name for QUAN contains \, web page report errors until refresh page.
Submitted: 24 Nov 2008 7:03 Modified: 11 Dec 2008 14:28
Reporter: Meiji KIMURA Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Web Severity:S3 (Non-critical)
Version:2.0.0.7102 OS:Any
Assigned to: Josh Sled CPU Architecture:Any

[24 Nov 2008 7:03] Meiji KIMURA
Description:
MEM 2.0 can define an alias for SQL statement in QUAN function.

If an alias name contains \, subsequent operation report error until refresh page.

How to repeat:
(1) define an alias name contains \.
After that if you click 'edit alias', there is no response from GUI until refresh web page.

Suggested fix:
Check a string not to cause such an error.

[Workaround]
Do not use an alias name contains \.
[26 Nov 2008 19:38] Josh Sled
revno: 6513
revision-id: jsled@asynchronous.org-20081126193226-leudec2mzbctx23o
parent: mark@mysql.com-20081125224443-3vt6xjconh633rof
committer: Josh Sled <jsled@asynchronous.org>
branch nick: 2.0
timestamp: Wed 2008-11-26 14:32:26 -0500
message:
  Bug#40966: also escape backslashes (\) in strings that are used as javascript strings.

Note that this wouldn't necessarily break the page … it basically didn't escape backslashes, so depending on what the character following the backslash was, different effects could be obtained.
[5 Dec 2008 18:20] Marcos Palacios
Verified fixed in service manager build 2.0.0.7119.
[11 Dec 2008 14:28] MC Brown
No documentation required.