Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix regression on backport: not-null property references a null or tr…
…ansient value.
  • Loading branch information
Ryan Morgan committed Sep 30, 2009
1 parent c5135f1 commit d300654
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hqu/hqapi1/app/AlertdefinitionController.groovy
Expand Up @@ -545,6 +545,11 @@ public class AlertdefinitionController extends ApiController {
def actionId = xmlAction.'@id'?.toInteger()
def className = xmlAction.'@className'

if (!className) {
// Nothing to do
continue
}

def cfg = [:]
// Special translation for ControlActions for Resource ids
if (className == "com.hyperic.hq.bizapp.server.action.control.ControlAction") {
Expand Down

0 comments on commit d300654

Please sign in to comment.