![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
2.0.10 |
|
Assignee:
|
Unassigned |
|
Attachments:
|
Screen Shot 2013-06-05 at 10.14.43.png |
|
Created:
|
05/Jun/13 10:17 AM
|
|
Description:
|
With MGNLSTK-949 one can now configure the start level of the sub navigation which is a very cool thing, BUT: If you do not configure a start level and you do not have your home page on the top level, the start level of the sub navigation is wrong.
Steps to reproduce:
1. go to demoauthor.magnolia-cms.com
2. create a new top level node of the type redirect
3. underneath create a second redirect node
4. copy the whole demo-project site underneath the second redirect node
5. open the copy of demo-project and navigate to some sup page
=> The sub navigation starts with "home" (i.e. 2 levels off)!
The problem lies on line 87 of SiteNavigationModel where the startLevel of the sub navigation is calculated by simply adding 1 to getHorizontalLevel() instead of adding the startLevel of the horizontal navigation (as it was done in 2.0.9).
|
|
Project:
|
Magnolia Standard Templating Kit
|
|
Labels:
|
navigation
stk
|
|
Priority:
|
Critical
|
|
Reporter:
|
Will Scheidegger
|
|
Security Level:
|
Public |
|
Original Estimate:
|
1h
|
|
Remaining Estimate:
|
1h
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <
[email protected]>
----------------------------------------------------------------