Bug 1398077

Summary: BRE does not generate unique IDs for custom search elements
Product: [Community] Bugzilla Reporter: Matt Tyson 🤬 <mtyson>
Component: Internal ToolsAssignee: Matt Tyson 🤬 <mtyson>
Internal Tools sub component: Rules Engine QA Contact: tools-bugs <tools-bugs>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: unspecified    
Priority: unspecified CC: huiwang, qgong, yijli
Version: 4.4   
Target Milestone: 4.4   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-30 01:00:41 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:

Description Matt Tyson 🤬 2016-11-24 04:15:01 UTC
When creating rules that use multiple custom search elements of the same type, the javascript will generate duplicate IDs for the parent elements.

EG

'Flags' 'is equal to' 'foo'
'Flags' 'is equal to' 'bar'
'Flags' 'is equal to' 'baz'

Clicking reset on any element will cause the first one (foo) to be reset.

Comment 1 Rony Gong 🔥 2016-12-19 09:22:00 UTC
Tested on QA environment(5.0.3-rh19)
Result: Pass

Comment 2 Rony Gong 🔥 2017-01-09 09:42:22 UTC
Tested on QA environment(4.4.12065-1.el6)
Result: Pass

Comment 3 Matt Tyson 🤬 2017-01-30 01:00:41 UTC
This change is now live. If there are any issues, do not reopen this bug.                                                                                                           
Instead, you should create a new bug and reference this bug.