Bug #48141 UI: add servers to a group shows all servers and not only the selected ones
Submitted: 19 Oct 2009 8:55 Modified: 27 Nov 2009 17:35
Reporter: Carsten Segieth Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Web Severity:S3 (Non-critical)
Version:2.2.0.1514 OS:Any
Assigned to: Josh Sled CPU Architecture:Any

[19 Oct 2009 8:55] Carsten Segieth
Description:
The "Add to group" dialog shows all servers and does not use the subset that is currently selected for "All Servers" using the new "Select servers fields".

How to repeat:
- start several agents
- go to "Settings" --> "Manage Servers"
- for the new 'Server Name' fields, select 'Contains' and enter e.g. "hp" in 'value'.
- see that now only servers with "hp" in the name are shown in the "All Servers" list (in my case 3 of 46)
- use 'create group' to create a new group
- click on 'add to group' for this new group
- see that here all servers (in my case all 46) are shown in the pop-up and not only the currently selected subset (in my case 3)

Suggested fix:
- use the subset that is currently selected for "All servers" also for the list of servers that can be added to a group

- (different topic): perhaps also change the header line "All servers (3)" to "All servers (3 of 46)" (values 3 and 46 are my current samples)
[19 Oct 2009 16:27] Enterprise Tools JIRA Robot
Josh Sled writes: 
these are all good ideas.  The popup might even have the selector pre-filled with just the filter-set items, and easy/single-click access to the unfiltered list, too.
[9 Nov 2009 22:16] Enterprise Tools JIRA Robot
Josh Sled writes: 
revision-id: jsled@asynchronous.org-20091109220153-772mvt6hfusib2hx
parent: jsled@asynchronous.org-20091109184139-gh54gxz6rr29z3lo
committer: Josh Sled <jsled@asynchronous.org>
branch nick: local
timestamp: Mon 2009-11-09 17:01:53 -0500
message:
  EM-3659: propogate server filtering criteria through to add-servers-to-group popup; display group server counts as (M/N) to show filtered vs. unfiltered.
[11 Nov 2009 17:59] Enterprise Tools JIRA Robot
Keith Russell writes: 
Patch installed in versions => 2.2.0.1535.
[20 Nov 2009 23:37] Enterprise Tools JIRA Robot
Carsten Segieth writes: 
tested OK in 2.2.0.1545
[27 Nov 2009 17:35] Tony Bedford
An entry has been added to the 2.2.0 changelog:

        The Add to Group context menu item, on the Manage Servers page,
        listed all servers when clicked, rather than the subset
        pre-selected from the main server list.