Bug 1461898 - Channel drop-down menu on the "Manage software packages" page has wrong hierarchy of parent/childs channels
Summary: Channel drop-down menu on the "Manage software packages" page has wrong hiera...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: WebUI
Version: 580
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Grant Gainey
QA Contact: Radovan Drazny
URL:
Whiteboard:
: 1481661 (view as bug list)
Depends On:
Blocks: sat58-errata 1482078
TreeView+ depends on / blocked
 
Reported: 2017-06-15 14:24 UTC by Radovan Drazny
Modified: 2017-10-19 11:57 UTC (History)
4 users (show)

Fixed In Version: spacewalk-java-2.5.14-96-sat
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1482078 (view as bug list)
Environment:
Last Closed: 2017-10-19 11:57:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Real channel structure on the Sat server (102.65 KB, image/png)
2017-06-15 14:24 UTC, Radovan Drazny
no flags Details
Wrong structure in the drop down menu (98.91 KB, image/png)
2017-06-15 14:25 UTC, Radovan Drazny
no flags Details
Dropdown menu structure after the fix (74.01 KB, image/png)
2017-09-12 10:41 UTC, Radovan Drazny
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2915 0 normal SHIPPED_LIVE Red Hat Satellite 5.8.0 bug fix update 2017-10-19 15:56:50 UTC

Description Radovan Drazny 2017-06-15 14:24:03 UTC
Description of problem:
With multiple custom base and child channels on the Sat server, the channel drop down menu on the ../rhn/software/manage/packages/PackageList.do page is messed up.

Version-Release number of selected component (if applicable):
spacewalk-java-2.5.14-89.el6sat

How reproducible:
always

Steps to Reproduce:
1. Create number of base channels (five was enough for me, probably will work even with a smaller number)
2. Create a few child channels for each base channel from step 1 (three was enough for me). There is no need for any packages in channels.
3. Go to ../rhn/software/manage/packages/PackageList.do and open the "Channel:" drop down menu.

Actual results:
Hierarchy of channels displayed in the menu is wrong. See the attached picture for an example.

Expected results:
Channel hierarchy in the menu is correct.

Comment 1 Radovan Drazny 2017-06-15 14:24:40 UTC
Created attachment 1288085 [details]
Real channel structure on the Sat server

Comment 2 Radovan Drazny 2017-06-15 14:25:49 UTC
Created attachment 1288086 [details]
Wrong structure in the drop down menu

Comment 3 Grant Gainey 2017-07-20 15:30:16 UTC
spacewalk-.github:
4226dbbd01ff102a823fd3c00d90aa2d819daef3

Comment 4 Grant Gainey 2017-08-15 19:13:55 UTC
Missed other users of channel_selector.jspf

spacewalk.github:
0c63c56e0b22eb65049b1a810cc2f6a23ed33c53

Comment 5 Grant Gainey 2017-08-15 19:23:39 UTC
*** Bug 1481661 has been marked as a duplicate of this bug. ***

Comment 6 Tomas Lestach 2017-08-16 09:14:58 UTC
I do not think this BZ should be ON_QA. Switching back to MODIFIED.

Comment 9 Radovan Drazny 2017-09-12 10:41:17 UTC
Reproduced on spacewalk-java-2.5.14-95.el6sat using the reproducer from the initial report. After update to spacewalk-java-2.5.14-97.el6sat and checking the dropdown menu, the structure is correct. See the attached picture.

VERIFIED

Comment 10 Radovan Drazny 2017-09-12 10:41:58 UTC
Created attachment 1324824 [details]
Dropdown menu structure after the fix

Comment 12 errata-xmlrpc 2017-10-19 11:57:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2915


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