Bug 1232022 - undefined method `[]' for nil:NilClass [miq_policy/alert_field_changed]
Summary: undefined method `[]' for nil:NilClass [miq_policy/alert_field_changed]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Control
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.4.1
Assignee: Bill Wei
QA Contact: Aziza Karol
URL:
Whiteboard:
Depends On: 1231889
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-15 20:52 UTC by Bill Wei
Modified: 2019-11-19 22:34 UTC (History)
11 users (show)

Fixed In Version: 5.4.1.0
Doc Type: Bug Fix
Doc Text:
Previously, attempting to create a new alarm and setting the 'What to evaluate' field to 'VMware Alarm' would result in the error 'undefined method `[]' for nil:NilClass [miq_policy/alert_field_changed]'. This update resolves a syntax error in the code used to form options for VMware alarms, making it possible to successfully create a new alarm when the 'What to evaluate' field is set to 'VMware alarm'.
Clone Of: 1231889
Environment:
Last Closed: 2015-07-30 13:11:52 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:
mfalesni: automate_bug?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1511 0 normal SHIPPED_LIVE CFME 5.4.1 bug fixes, and enhancement update 2015-07-30 17:10:05 UTC

Comment 2 Bill Wei 2015-06-23 13:05:17 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=def733e9bb5d19777a3e9e51a0aa2a7ac6f0d66c

commit def733e9bb5d19777a3e9e51a0aa2a7ac6f0d66c
Author:     Bill Wei <bilwei>
AuthorDate: Tue Jun 16 03:39:30 2015 +0800
Commit:     Bill Wei <bilwei>
CommitDate: Tue Jun 16 05:00:01 2015 +0800

    Fix a coding error in forming options for VMWare alarm
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1231889

 vmdb/app/views/miq_policy/_alert_builtin_exp.html.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=cc4fc9d0a99423d78dbb7796fa3e06133f9819ca

commit cc4fc9d0a99423d78dbb7796fa3e06133f9819ca
Merge: b7809e0 def733e
Author:     Greg McCullough <gmccullo>
AuthorDate: Mon Jun 22 11:33:18 2015 -0400
Commit:     Greg McCullough <gmccullo>
CommitDate: Mon Jun 22 11:33:18 2015 -0400

    Merge branch 'vmware_alarm' into '5.4.z'
    
    Fix a coding error in forming options for VMWare alarm
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1231889
    
    Upstream PR
    https://github.com/ManageIQ/manageiq/pull/3172
    
    See merge request !130

 vmdb/app/views/miq_policy/_alert_builtin_exp.html.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 4 Aziza Karol 2015-07-20 05:04:55 UTC
Able to create a new alarm when the 'What to evaluate' field is set to 'VMware alarm'.

Verified:
5.4.1.0.20150717083323_6ed7e1c

Comment 6 errata-xmlrpc 2015-07-30 13:11:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1511.html


Note You need to log in before you can comment on or make changes to this bug.