Bug #46016 broken "configure query analysis" option available to Silver subscription
Submitted: 7 Jul 2009 17:55 Modified: 27 Jul 2009 13:57
Reporter: Josh Sled Email Updates:
Status: Closed Impact on me:
Category:MySQL Enterprise Monitor: Web Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: Josh Sled CPU Architecture:Any

[7 Jul 2009 17:55] Josh Sled
We show the "configure query analysis" option on ManageServers regardless of subscription level.  ilver does not have access to quan, so when the quan config popup goes to request it's initialization data, a struts-level request filter gets in the way, fails the ACL check/request, and returns a generic HTML stack-trace/error page, which the popup-response-receipt code interprets as an unhandled error message, and shoves it the big javascript alert dialog box.

We shouldn't display a sensitive "configure quan" button if the user can't make use of it, and it's going to cause an error.

How to repeat:
see description
[9 Jul 2009 20:20] Enterprise Tools JIRA Robot
Marcos Palacios writes: 
Verified as reported, also in build
[21 Jul 2009 18:09] Enterprise Tools JIRA Robot
Josh Sled writes: 
revno: 7385
revision-id: jsled@asynchronous.org-20090721180600-xau9jldtudde6j0z
parent: jsled@asynchronous.org-20090721165704-7p8jjzv5y88wgror
committer: Josh Sled <jsled@asynchronous.org>
branch nick: local
timestamp: Tue 2009-07-21 14:06:00 -0400
  EM-3418, Bug#46016: don't display links to the quan config popup if the subscription does not have quan allowed.
[23 Jul 2009 22:33] Enterprise Tools JIRA Robot
Marcos Palacios writes: 
Available in Build
[24 Jul 2009 18:59] Enterprise Tools JIRA Robot
Marcos Palacios writes: 
Verified fixed in build
[27 Jul 2009 13:58] Tony Bedford
An entry has been added to the 2.1.0 changelog:

In the Enterprise Dashboard, on the Settings, Manage Servers page, the menu item Configure Query Analyzer generated an unhandled error message if clicked when using the Silver level subscription. Query Analyzer is not available at this subscription level, and the menu option to configure the analyzer should not be shown on this page.