Description of problem: The emails sent using the "Direct email" alert sender don't contain the type information on the resources. Due to resource renaming this can leave the user unsure what resource is the email about. Both the resource name and the resource hierarchy should be enriched with the resource type for non-singleton resource types (so that it resembles the way nav tree encapsulates non-singleton resources in autogroups). Version-Release number of selected component (if applicable): 3.0.0.Beta1 How reproducible: always Steps to Reproduce: 1. Create a "Direct Email" alert on some resource 2. Observe the information in the emails sent Actual results: Only the resource names are included in the email for both the resource in question and its parents in hierarchy. Expected results: The resource type should be mentioned for both the resource and its parents so that generic resource names (like localhost) gain more meaning. Additional info:
The "System Roles" and "System Users" alert senders use the same format of the email, so they need to be changed as well.
jay just implemented a new D12N data model. The D12N information is now easily accessible from the Resource entity. It should be simple to add D12N info to the emails.
assigning to Jay since he knows all about the D12N stuff
Fixed in commit cb78e0b3: I tested e-mail notification via system user sender. I believe all the e-mail senders go through the same code-path with the changes but they should all be tested.
Verified on build#149 (Version: 4.1.0-SNAPSHOT Build Number: 04f721e) The email sent now displays the resource type for the resource and the parent as below: Resource Ancestry: suniltest [Platforms, Linux] localhost.localdomain:1099 all [JBossAS5, JBossAS Server] Verified this for the system roles, system users and direct email options. Marking as verified.
Bulk closing of issues that were VERIFIED, had no target release and where the status changed more than a year ago.