Bug 1287927

Summary: Extra components are not displayed on multi component bugs.
Product: [Community] Bugzilla Reporter: Rony Gong 🔥 <qgong>
Component: Creating/Changing BugsAssignee: PnT DevOps Devs <hss-ied-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 4.4CC: jmcdonal, mtahir, mtyson, qgong
Target Milestone: 4.4Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.4.10045.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-16 02:14:18 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:

Description Rony Gong 🔥 2015-12-03 02:21:53 UTC
Description of problem:
It only save one component when creating bug with multi components

Version-Release number of selected component (if applicable):
4.4.10045-2

How reproducible:
100%

Steps to Reproduce:
1.Create a bug against 'JBoss Enterprise Application Platform 6' which allow multi components, select components: distribution, build
2.Input some other field for this bug, save this bug.
3.

Actual results:
It only save one component: distribution

Expected results:
It should save all selected components 

Additional info:

Comment 1 Matt Tyson 🤬 2015-12-03 05:23:42 UTC
The problem was that we were only showing the first component.

Extra components we not being queried or selected.

Since we need the component object, not just the component name. I've added a new 'all_component_objs' method to make this work.

Comment 2 Rony Gong 🔥 2015-12-03 07:46:36 UTC
Tested on 
QA environment(bzperfweb01.app.qa) with version(4.4.10045-3, DB: psql)
Result: Pass

Comment 3 Matt Tyson 🤬 2015-12-16 02:14:18 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.