Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1064573

Summary: left side menu not structured when on system details page
Product: [Community] Spacewalk Reporter: Jan Hutař <jhutar>
Component: WebUIAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satellite-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.1CC: tkasparek
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-04 13:07:15 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:
Bug Depends On:    
Bug Blocks: 1069560    
Description Flags
differences in menu none

Description Jan Hutař 2014-02-12 21:23:25 UTC
Description of problem:
Left side menu is not structured when you are on system details page.

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

How reproducible:
always on one system where I have checked

Steps to Reproduce:
1. On webUI go to Systems -> Systems and notice menu on the left
2. Select some system and go to its details page and notice menu on the left now

Actual results:
In first step left side menu has two levels of indentation, in second step the menu do not have second indentation level, all items are indented equally. Check screenshot.

Expected results:
Menu on the left should look similar for both cases.

Comment 1 Jan Hutař 2014-02-12 21:38:18 UTC
Sorry, menu on system details page is OK. Menu on system details -> Events is the one where I can see the problem. So step 2 should be:

2. Select some system and go to its details page -> Events and notice menu
   on the left now:

Comment 2 Jan Hutař 2014-02-12 21:45:03 UTC
Created attachment 862539 [details]
differences in menu

Comment 3 Tomáš Kašpárek 2014-02-13 08:26:06 UTC
looks like perl vs. java issue (left side menu have probably different classes in perl and java) - taking

Comment 4 Tomáš Kašpárek 2014-02-17 15:38:31 UTC
fixed in spacewalk.git: 3c15a2224365758e215497100ed54ae7eb4d1944

perl generated html valid side navigation while did not, I've fixed java code to generate html valid navogation and css to respect html valid navigation

pasting there from commit message of 3c15a2224365758e215497100ed54ae7eb4d1944

1064573 - make sidenav html valid
constructs like:
are not html valid, replacing them with valid ones like:
nested <ul>s should be inside <li>

Comment 5 Matej Kollar 2014-03-04 13:07:15 UTC
Spacewalk 2.1 has been released.

Comment 6 Matej Kollar 2014-03-04 13:08:45 UTC
Spacewalk 2.1 has been released.