Bug 1151025

Summary: Cannot move a bug between products and select more than one component
Product: [Community] Bugzilla Reporter: Rony Gong 🔥 <qgong>
Component: Creating/Changing BugsAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: Rony Gong 🔥 <qgong>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4CC: jmcdonal
Target Milestone: 4.4   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.4.9039 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-20 23:29:16 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 🔥 2014-10-09 12:47:23 UTC
Description of problem:
Show deny message when move a bug to other product and select more than one component.

The Bugzilla product does not allow a bug to be assigned more than one component.

Version-Release number of selected component (if applicable):
4.4.6026-3

How reproducible:
Always

Steps to Reproduce:
1.find a bug whose product doesn't allow multi components, like bugzilla bug
2.Update this bug, change product to "JBoss Operations Network"(which allow multi components), click button "save changes", then select any 2 components of product "JBoss Operations Network", make sure version, target milestone, target release selected
3. click button "commit"

Actual results:
The Bugzilla product does not allow a bug to be assigned more than one component.

Expected results:
Don't show deny message, since the product "JBoss Operations Network" allow mutli components

Additional info:

Comment 1 Jason McDonald 2014-10-10 00:08:13 UTC
Seems closely related to Bug 1136687.  They should probably be fixed together.

Comment 2 Rony Gong 🔥 2015-03-23 06:08:37 UTC
Also can't update bug to multiple components by xmlrpc

Comment 3 Jason McDonald 2015-05-05 03:29:17 UTC
Seems to be a small regression related to the rewrite of the multivalue extension.  It appears to be checking whether the old product supports multiple values rather than new product.

Comment 4 Rony Gong 🔥 2015-05-12 03:32:00 UTC
Tested on 
QA environment(bzweb01-qe) with version(4.4.9033-1, DB: mysql)
QA environment(bzperfweb01.app.qa) with version(4.4.9033-1, DB: psql )
Result: Most parts works fine, but below 2 errors need to be fixed the better.
Steps:
1. Open a bugzilla product bug(which doesn't support multi_component)
2. Select product 'JBoss Enterprise Application Platform 6'(which support multi_component), then choose 2 components(like: Build, CLI), then click button 'Save Changes'
3.Error_1:  only 1 component marked as selected status in the current page
4. Return back by click the browse's "<-"
5.Error_2:  in the bug detail page, product value is shown as "Boss Enterprise Application Platform 6", but the component value is shown as the original bug's component(same as step 1)
It should shown as components: Build, CLI

Comment 5 Jeff Fearn 🐞 2015-05-13 03:48:47 UTC
Note this solves the #3, which is a bug in production and not related to this change.

I cannot reproduce #5.

Comment 6 Rony Gong 🔥 2015-05-14 02:13:30 UTC
Seems https://code.engineering.redhat.com/gerrit/#/c/48089/  didn't merged to build 4.4.9033-2, QE waiting for new build.

Comment 7 Rony Gong 🔥 2015-05-14 07:11:50 UTC
(In reply to Jeff Fearn from comment #5)
> Note this solves the #3, which is a bug in production and not related to
> this change.
> 
> I cannot reproduce #5.

#3 fixed in build 4.4.9033-3, but #5 still could be reproduced.
Do u clicked the 'go back' button of browser?

Comment 8 Jeff Fearn 🐞 2015-05-14 23:27:13 UTC
(In reply to qgong from comment #7)
> (In reply to Jeff Fearn from comment #5)
> > Note this solves the #3, which is a bug in production and not related to
> > this change.
> > 
> > I cannot reproduce #5.
> 
> #3 fixed in build 4.4.9033-3, but #5 still could be reproduced.
> Do u clicked the 'go back' button of browser?

Yes I clicked the back button and the fields stayed as I'd entered them.

Firefox 31.5.0, RHEL6.

Comment 9 Rony Gong 🔥 2015-05-15 02:27:03 UTC
(In reply to Jeff Fearn from comment #8)

> 
> Yes I clicked the back button and the fields stayed as I'd entered them.
> 
> Firefox 31.5.0, RHEL6.
As we know, the latest stable firefox version is 38.0.1, So I suggest you use a latest version firefox to test check it again, and this error also happend in google-chrome(42.0).

Anyway, this #5 is just a small usability issue, QE think it is acceptable to file another low severity bug to track this issue and not blocking current bug any more.

Comment 10 Jeff Fearn 🐞 2015-05-15 03:09:20 UTC
I updated to FF 38.0 on RHEL6 and I still can't duplicate #5.

Comment 11 Rony Gong 🔥 2015-05-15 05:31:43 UTC
It is incredible, that #5 could not reproduced in one of my test workstation.
Verified this issue on build 4.4.9033-5, Pass

Comment 12 Matt Tyson 🤬 2015-09-20 23:29:16 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.