Navigation: openAll config property is ignored -> bean variable is named 
differently
------------------------------------------------------------------------------------

                 Key: MGNLSTK-651
                 URL: http://jira.magnolia-cms.com/browse/MGNLSTK-651
             Project: Magnolia Standard Templating Kit
          Issue Type: Bug
          Components: base system
    Affects Versions: 1.3.1
            Reporter: Christian Ringele
            Assignee: Philipp Bärfuss
         Attachments: Screen shot 2010-07-02 at 10.45.28 AM.png

In  the horizontal- and vertical-navigation is a configuration property 
'openAll'.
This value should achieve, that all sub pages get rendered in the navigation, 
not only the active one.
So a JS could fetch all sub pages and provide these drop down menus.

The property is ignored, because the according bean 
'info.magnolia.module.templatingkit.templates.Navigation.java' is not populated:
The variable for the property is named different:
 private Boolean allOpen;
and its setters and getters.
So the setter is never called and populated -> always false.

I tried to fid out when this error came in, but in all previous bootstrap files 
of the site config it was always openAll.
In all previous versions of the bean it was always allOpen -> looks like it 
never worked, what surprises me. I thought I've seen it working.

Workaround:
rename the property in the site configuration to according to the bean: allOpen

-- 
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/home/community/mailing-lists.html
To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to