Bug 1016833
| Summary: | Alert notification sender, resource operation, relative resource type filter drop-down has not logical or usable ordering | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | Larry O'Leary <loleary> |
| Component: | Monitoring - Alerts, UI, Usability | Assignee: | Jirka Kremser <jkremser> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | JON 3.1.2 | CC: | jkremser |
| Target Milestone: | DR02 | ||
| Target Release: | JON 3.2.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-05-08 17:44:26 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Adding bug 1016830 to see also list as these two bugs are tightly related. For example, depending on what happens in bug 1016830, may change what happens here. branch: master link: http://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=d2aac70ae time: 2014-01-28 16:03:56 +0100 commit: d2aac70ae17ea051080a16a92a1ac666d909e520 author: Jirka Kremser - jkremser message: [BZ 1016833] - Alert notification sender, resource operation, relative resource type filter drop-down has not logical or usable ordering - Using the LinkedHashMap that preserves the ordering instead of java.util.HashMap. Also adding the plugin name to the drop-down list. release branch c2f37733be994a9237853a7f21733e2459a9f055 Moving to ON_QA as available for testing in the following brew build: https://brewweb.devel.redhat.com//buildinfo?buildID=340294 Note: the installed version is still JON 3.2.0.GA by design and this represents part of the payload for JON 3.2.1 also known as cumulative patch 1 for 3.2.0.GA. How this will be delivered to customers is still being discussed. Verified JON 3.2.1 DR2 JON 3.2.1 released week of 5/5/2014 |
Description of problem: When defining an alert notification sender of type resource operation using a relative resource type, the type filter drop-down contains many resource types without any grouping and ordering. This makes it near impossible to find relative resource types. Version-Release number of selected component (if applicable): 4.4.0.JON312GA How reproducible: Always Steps to Reproduce: 1. Install and start JBoss ON system and install all plug-ins. 2. Import platform into inventory. 3. Attempt to create a new alert definition for the platform resource: _General Properties_ *Name*: `Test Alert` _Notifications_ *Notification Sender*: _Resource Operations_ *Resource Selection Mode*: _Relative Resource_ *Start Search From*: <platform> Actual results: *Then Filter By* contains many resource types in what appears to be a random order. Expected results: *Then Filter By* should present a list of resource types sorted alphabetically and possibly grouped by their parent/plug-in type. Additional info: This appears to be due to the map's key being a numeric value. This results in what appears to be the client (browser) sorting the list by resource type id. This had been captured as a bug in http://code.google.com/p/smartgwt/issues/detail?id=569 however it appears that the bug may have been closed as "works as intended." The recommendation is to use a non-numeric string prefix to prevent the re-ordering as described in the short thread: http://forums.smartclient.com/showthread.php?t=16073