Support Migration Notice: To update migrated JIRA cases click here to open a new case use www.vmware.com/go/sr | vFabric Hyperic 5.7.0 is Now Available

Hyperic HQ

Unable to add control action to alert definitions if custom roles defined

Details

  • Case Links:
    none
  • Regression:
    Yes
  • Tags:

Description

When a custom role is defined a group is created with grouptype = 0. When AppdefBoss.findCompatInventory is called it calls findGroups which then calls ResourceGroupManager.getGroupConvert which tries to convert and throws an IllegalArgumentException because it doesn't know about groupType = 0. This triggers a transaction rollback and results in error page being displayed in UI

Activity

Hide
Wes Schlichter added a comment -

Steps to reproduce:

1.) Create a new role
2.) Create an alert definition
3.) Try to add a control action to the alert def
4.) Error message is displayed (Note: can't see the stack trace due to HHQ-5116)

Show
Wes Schlichter added a comment - Steps to reproduce: 1.) Create a new role 2.) Create an alert definition 3.) Try to add a control action to the alert def 4.) Error message is displayed (Note: can't see the stack trace due to HHQ-5116)
Hide
Wes Schlichter added a comment -

Added group type = 0 to AppdefEntityConstants

Checked into 4.5.2.x and master

Show
Wes Schlichter added a comment - Added group type = 0 to AppdefEntityConstants Checked into 4.5.2.x and master

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved:
    Last comment:
    2 years, 38 weeks, 6 days ago