[MGNLSTK-651] Navigation: openAll config property is ignored -> bean variable is named differently Created: 02/Jul/10  Updated: 08/Mar/11  Resolved: 26/Nov/10

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: base system
Affects Version/s: 1.3.1
Fix Version/s: 1.3.6, 1.4

Type: Bug Priority: Major
Reporter: Christian Ringele Assignee: Ondrej Chytil
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen shot 2010-07-02 at 10.45.28 AM.png    
Issue Links:
causality
is causing MGNLSTK-713 Re-fix MGNLSTK-651 (navigation config... Closed
duplicate
duplicates MGNLSTK-618 correct navigation config detail Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

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



 Comments   
Comment by Magnolia International [ 23/Jul/10 ]

bootstrap file fixed with r35917 (MGNLSTK-618)

Comment by Ondrej Chytil [ 26/Nov/10 ]

Reopened, causing MGNLSTK-713.

Generated at Mon Feb 12 07:29:06 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.