Bug 1447374

Summary: UI: Unable to edit Compliance Policy Scope condition.
Product: Red Hat CloudForms Management Engine Reporter: Satyajit Bulage <sbulage>
Component: ApplianceAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: abellott, dajohnso, gtanzill, hkataria, jhardy, mpovolny, obarenbo, sbulage, yrudman
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1477702 (view as bug list) Environment:
Last Closed: 2018-03-06 14:43:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1477702    

Description Satyajit Bulage 2017-05-02 14:24:44 UTC
Description of problem: While creating compliance policy for VM, an edit of the condition under scope is throwing an error.

Error--> "There is an error in the selected expression element, perhaps it was imported or edited manually.
This element should be removed and recreated or you can report the error to your CFME administrator.
Error details: undefined method `[]' for nil:NilClass "


Version-Release number of selected component (if applicable): 5.8.0.12-rc1.20170425180304_4f35996


How reproducible:100%


Steps to Reproduce:
1. Navigate to Control --> Explorer
2. Create Compliance Policy and under scope add condition/crieteria
3. After adding condition/crieteria and click on it to edit.

Actual results: Throws error mentioned in description


Expected results: It should be able to edit without any error.


Additional info:

Comment 6 Yuri Rudman 2017-06-28 13:28:40 UTC
PR: https://github.com/ManageIQ/manageiq/pull/15452

Comment 8 Dmitry Misharov 2017-10-18 08:33:43 UTC
Verified in 5.9.0.2.20171010190026_0413a06. Expression editor works fine.