Bug 154994 - rhn-tab-directory must be updated appropriately for java navigation
rhn-tab-directory must be updated appropriately for java navigation
Status: CLOSED CURRENTRELEASE
Product: Red Hat Network
Classification: Red Hat
Component: RHN/R&D (Show other bugs)
RHN Devel
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ken Ganong
Vlady Zlatkin
:
Depends On:
Blocks: 151514
  Show dependency treegraph
 
Reported: 2005-04-15 10:43 EDT by Ken Ganong
Modified: 2007-04-18 13:23 EDT (History)
1 user (show)

See Also:
Fixed In Version: RHN 4.0.0
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-08-31 16:54:47 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Screenshot (109.11 KB, image/png)
2005-04-29 11:25 EDT, Ken Ganong
no flags Details

  None (edit)
Description Ken Ganong 2005-04-15 10:43:56 EDT
Description of problem:
Occassionally in java the left nav when browsing in a tab converts to the "Your
RHN" left nav.

How reproducible:
Browsing pages under a tab sometimes causes this to happen, though I haven't
been able to make it happen consistently through normal browsing.

Steps to Reproduce:
1. Click on a tab other than the Users tab.
2. Find out a user's id in your org.
2. type in the url for rhn/users/UserPreferences.do?uid=XXXX  where XXX = a
user's id in your org.
  
Actual results:
Your RHN left nav appears on the page.

Expected results:
Users left nav appears on the page.
Comment 1 Ken Ganong 2005-04-29 11:25:26 EDT
Created attachment 113850 [details]
Screenshot

Inappropriate left nav
Comment 2 Ken Ganong 2005-04-29 15:48:20 EDT
So the problem boiled down to a xml mistake.
was:
<rhn-tab-directory>/network/users</rhn-tab-directory>
now:
<rhn-tab-directory>/rhn/users</rhn-tab-directory>

For every tab directory we should have this correct so that our NavTreeIndex can
activate the correct tab.

Changing the summary of this bug and aligning to 400
Comment 3 Ken Ganong 2005-06-24 16:49:40 EDT
TEST PLAN
example case:
1. Click on a tab other than the Users tab.
2. Find out a user's id in your org.
3. type in the url for rhn/users/UserPreferences.do?uid=XXXX  where XXX = a
user's id in your org.
4. Verify correct left nav

basically, copy and paste urls from a different site context instead of using
the sitenavs to get to places and verify that the correct nav structure and
highlighting is rendered.
Comment 4 Vlady Zlatkin 2005-07-06 17:23:26 EDT
so should i see this: 

html/nav/sitenav-authenticated.xml:     
<rhn-tab-directory>/network/users</rhn-tab-directory>
Comment 5 Ken Ganong 2005-07-06 17:50:03 EDT
Here is a list of urls that I have seen problems with in the past.

The typical:
/rhn/users/UserPreferences.do?uid=XXXX

For Actions that have package/patch/patchset installs or removals.
/rhn/schedule/PackageList.do?aid=XXXX

Pages where the entire tree of active nodes is hybrid perl and java nodes.
/network/errata/manage/packages/index.pxt?eid=XXXX
any /network/errata/manage/*.pxt
/network/systems/details/channels.pxt?sid=XXXX
any /network/systems/details/*.pxt

Pages whose urls do not appear on node listing because they are deep within a
use path.
/rhn/users/EditAddress.do?type=M&uid=XXXX
/rhn/systems/details/packages/profiles/CompareProfiles.do?sid=XXXX&prid=XXXX
Comment 6 Vlady Zlatkin 2005-07-07 16:03:17 EDT
prod ready

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