Bug 1409985

Summary: Don't show Dependant Products dropdown if no choices are available
Product: [Community] Bugzilla Reporter: Jason McDonald <jmcdonal>
Component: Creating/Changing BugsAssignee: PnT DevOps Devs <hss-ied-bugs>
Status: CLOSED DUPLICATE QA Contact: tools-bugs <tools-bugs>
Severity: low Docs Contact:
Priority: unspecified    
Version: 5.0CC: huiwang, qgong, yijli
Target Milestone: ---   
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-09 00:24: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:
Embargoed:

Description Jason McDonald 2017-01-04 05:26:00 UTC
Description of problem:
When entering a new bug, if the Product has no configured choices for the Dependent Products field, the drop-down is still presented to the user.  This is confusing, particularly as the field accepts text input, but clears it as soon as the focus is moved to another widget.

To avoid confusion, the Dependent Products field should only be displayed if there is at least one choice configured for the product in which the bug is being filed.

Version-Release number of selected component (if applicable):
5.0.3 (beta.bugzilla.redhat.com)

How reproducible:
Always

Steps to Reproduce:
1. Go to New->Community->Bugzilla
2. Try to enter something in the Dependent Products field

Actual results:
- No preconfigured choices are available
- Any text entered is cleared as soon as focus is moved to another widget

Expected results:
The Dependent Products field is hidden if no choices are configured.

Additional info:
none

Comment 1 Jeff Fearn 🐞 2017-01-09 00:24:41 UTC

*** This bug has been marked as a duplicate of bug 1394126 ***