Bug 1058462 - Guided Bug Entry Component Description's for RHEL 6 Components are offset by one beginning with element "doc-Installation_guide"
Summary: Guided Bug Entry Component Description's for RHEL 6 Components are offset by ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Creating/Changing Bugs
Version: 4.4
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: 4.4
Assignee: Matt Tyson 🤬
QA Contact: Simon Green
URL: https://bugzilla.redhat.com/enter_bug...
Whiteboard:
Depends On: 576320
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-27 20:32 UTC by Robert Jackson
Modified: 2025-10-16 23:37 UTC (History)
5 users (show)

Fixed In Version: 4.4.2014
Clone Of:
Environment:
Last Closed: 2014-03-03 01:00:27 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 576320 0 low CLOSED would like sorting in the component list 2025-10-16 23:27:06 UTC

Internal Links: 576320

Description Robert Jackson 2014-01-27 20:32:26 UTC
Description of problem:
The Component list of the guided bug entry form for RHEL 6 (possibly other versions as well) is missing the entry for the Component Description "RHEV Hypervisor Deployment Guide" which is causing all trailing Component Descriptions to be offset by one, beginning with the current next Component list element of "doc-Installation_Guide". Thus, the Component Description for "doc-Installation_Guide" is "RHEV Hypervisor Deployment Guide" whereas it should have the Component Description of "Installation Guide" which is attached to the next Component list element; this behavior continues for the remainder of all Component Descriptions.

Version-Release number of selected component (if applicable):
Noticed under RHEL 6 guided bug entry for bz 4.4

How reproducible:
Very

Steps to Reproduce:
1.Create New Bug for RHEL 6 using guided bug entry form.
2.Under Step 2, in the Component listbox, select "doc-Installation_Guide"
3.Note Component Description of missing previous element "RHEV Hypervisor Deployment Guide"

Actual results:
All Component Descriptions are offset by one beginning with the Component Description "doc-Installation-Guide" and continuing for the remainder of all Component Descriptions.

Expected results:
Component Descriptions match Component list elements.

Additional info:

Comment 1 Robert Jackson 2014-01-27 20:35:16 UTC
Guided bug entry form for RHEL 6 URL: https://bugzilla.redhat.com/enter_bug.cgi?format=guided&product=Red%20Hat%20Enterprise%20Linux%206

Comment 3 Matt Tyson 🤬 2014-02-03 05:58:47 UTC
The code that generates the list of component descriptions was also including inactive components, however the code that generates the select list itself /was not/ including inactive components.

This is what was causing the off by one error.

I've put in the check, and also modified the template to put the distribution component at the head of the list. ( see bug 576320 )

The upstream guided template page has this check from version 4.4 onwards.

This fixes the problem with the description not matching the component name.

Comment 4 Matt Tyson 🤬 2014-03-03 01:00:27 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.