Bug 1136687 - show_bug.cgi: Component list doesn't change type when changing product
Summary: show_bug.cgi: Component list doesn't change type when changing product
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Creating/Changing Bugs
Version: 4.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 4.4
Assignee: PnT DevOps Devs
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-03 05:20 UTC by Jason McDonald
Modified: 2018-12-09 06:29 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-20 23:29:58 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1151025 0 medium CLOSED Cannot move a bug between products and select more than one component 2021-02-22 00:41:40 UTC

Internal Links: 1151025

Description Jason McDonald 2014-09-03 05:20:48 UTC
Description of problem:
Red Hat Bugzilla has different types for the Component field, depending on the selected product and it's settings.

For example, a product which allows multiple components to be selected for a bug presents a listbox, while a product that only allows a single component to be selected for a bug has a drop-down list.

When moving a bug between products where the type differs, the Component field does not change type.  For example, if I attempt to reassign a bug from a product which allows one component per bug to a product that allows multiple components per bug, the Component field stays as a drop-down list and I can't select multiple components without going to the next page.

The converse is also true; if I move a bug from a product that allows multiple components to one that doesn't, the Component list stays as a list-box and allows multiple components to be selected.  All but one component is discarded when I go to the next screen.

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

How reproducible:
Always

Steps to Reproduce:
1. Scroll up and observe that the component field of this bug is a drop-down list.
2. Change the product from "Bugzilla" to "JBoss Enterprise Web Server 2". (that product allows multiple components per bug.)
3. Observe that the Component field remains as a drop-down list and only one component can be selected.

Actual results:
The contents of the Component list change to the correct ones for the new product, but the list is still a drop-down and only one component can be selected.

Expected results:
Component field changes from a drop-down to a list-box, and allows multiple components to be selected.

Additional info:
none

Comment 1 Rony Gong 🔥 2015-05-20 08:02:13 UTC
Retest this bug in build 4.4.9033-5
1. Scroll up and observe that the component field of this bug is a drop-down list.
2. Change the product from "Bugzilla" to "JBoss Enterprise Web Server 2". (that product allows multiple components per bug.)
3. Change the product from "Bugzilla" to "Beaker". (that product not allows multiple components per bug.)

Both step 2 and step3's result is:
Component field changes from a drop-down to a list-box, and allows multiple components to be selected.

But step3 will show deny error page when select multi components and click save button.

Comment 2 Jeff Fearn 🐞 2015-06-10 06:42:32 UTC
I can't duplicate this, does it still happen post sprint 34?

Comment 3 Rony Gong 🔥 2015-06-10 07:19:48 UTC
QE test this again in the latest build(4.4.9034-5), only below issue seems need to be fix:
Steps:
1.Open a bug which doesn't support multiple components, like bugzilla
2.Then change this bug's product to another product which doesn't suppot multiple components neither, like beaker
3.Check the component select box
Actual results:
It could input multiple components

Expected results:
It should forbidden multiple component input

Comment 5 Jeff Fearn 🐞 2015-07-22 21:57:45 UTC
Hi Rony, this seems to work fine on 4.4.9037-5

Comment 6 Rony Gong 🔥 2015-07-23 02:09:35 UTC
It fixed in 4.4.9037-5, but filed a new bug 1245861 when testing this bug.

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


Note You need to log in before you can comment on or make changes to this bug.