Description of problem: When defining an alert notification sender of type resource operation using a relative resource type, the type filter drop-down can contain multiple resource types with the same name but from different plug-ins and parent types without any way to distinguish the differences. 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 multiple _Threading_ and _JBossAS Server_ resource types. Expected results: *Then Filter By* should make parent lineage for the duplicate resource types known. For example, _Threading_ may actually be: JBossAS -> JVM -> Threading JBossAS5 -> JVM -> Threading RHQ Agent -> JVM -> Threading Additional info:
Bug 1016833 was added to see also list as it deals with this same list/field and its sort order.
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/jon3.2.x commit c2f37733be994a9237853a7f21733e2459a9f055 Author: Jay Shaughnessy <jshaughn> Date: Mon Feb 3 16:39:30 2014 -0500 Cherry pick of d2aac70ae17ea051080a16a92a1ac666d909e520 Signed-off-by: Jay Shaughnessy <jshaughn>
Moving to ON_QA as available for testing in the following brew build: https://brewweb.devel.redhat.com//buildinfo?buildID=336752 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 on JON 3.2.1 DR01 build (Build Number :c758688:4c03150) 'Then Filter By' drop-down list shows the resource types with plug-in names. Please refer the attached screen-shot.
Created attachment 865381 [details] Screenshot
JON 3.2.1 released week of 5/5/2014