Cannot disable navigation from a variation defined on the level of a concrete
template
--------------------------------------------------------------------------------------
Key: MGNLSTK-967
URL: http://jira.magnolia-cms.com/browse/MGNLSTK-967
Project: Magnolia Standard Templating Kit
Issue Type: Bug
Components: templates
Affects Versions: 2.0.3
Reporter: Samuel Schmitt
Priority: Critical
Fix For: 2.0.x
Attachments:
config.modules.standard-templating-kit.templates.pages.stkArticle.xml
When on a concrete template (like stkArticle) you add a variation (like
smartphone) and you want to disable the navigation it does not work.
But if you disabled the navigation from the site definition variation, then it
works... so it really seems that the variations merge does not work properly
with a concrete template. The site definition variation wins against the
template variation.
How to reproduce:
- setup an environment with Mgnl 4.5.3 and the corresponding version of the
demo-project.
- replace stkArticle with the attached config.
- render this page
http://localhost:8080/magnolia-enterprise-webapp/demo-project/about/history.html?mgnlIntercept=PREVIEW&mgnlPreview=true&mgnlChannel=smartphone
- check at the bottom, you must see the navigation
Now you can try to disable the horizontal and vertical navigation from the
variation {{smartphone}} defined on the site defintion level. Then it will
work, no more navigation !!
So for me it's a bug because at the end the configuration defined on a concrete
template must win against the others.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
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]>
----------------------------------------------------------------