Bug 1459614

Summary: Not possible to add a product when editing a rule
Product: [Community] Bugzilla Reporter: Ondrej Mular <omular>
Component: Internal ToolsAssignee: Jeff Fearn 🐞 <jfearn>
Internal Tools sub component: Rules Engine QA Contact: tools-bugs <tools-bugs>
Status: CLOSED NEXTRELEASE Docs Contact:
Severity: unspecified    
Priority: unspecified CC: lsmid, qgong, yijli
Version: 5.0   
Target Milestone: 5.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://beta-bugzilla.redhat.com/page.cgi?id=ruleengine/edit.html&action=update&rule_id=13
Whiteboard:
Fixed In Version: 5.0.3-rh31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-14 03:07:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
console log none

Description Ondrej Mular 2017-06-07 15:08:09 UTC
Created attachment 1285828 [details]
console log

Description of problem:
When editing a rule in step 1, selector for the products isn't showing suggestions. I was able to add the product manually (by entering full name of the product, then underneath suggestion is displayed) but then in rule summary page (step 4) there is still only original product.

Version-Release number of selected component (if applicable):
5.0.3.rh29

How reproducible:
Always

Steps to Reproduce:
1. Start editing existing rule
2. In step 1, try to add another product
3. In step 4, newly added product is not displayed

Actual results:
newly added product is not displayed in step 4, therefore products list is not changed in rule after submitting changes

Expected results:
newly added product is displayed in step 4, and products are updated after submitting changes 

Additional info:
I can see some errors in browser javascript console (included in attachment)

Comment 1 Rony Gong 🔥 2017-07-12 07:24:18 UTC
Verified on the change after Release-5.0.3-rh30
Result: Pass
Steps:
1. Start editing existing rule
2. In step 1, try to add another product
3. In step 4, newly added product is displayed