Manipulation: current.attributes.class = 'active' seems not to work

Hi guys,

I’ve tried to manipulate the attribute class of a menu element for several days now (Neos 2.2.5):

current.attributes.class = 'active'

####This is my .ts2:
mainmenu = Menu {
templatePath = ‘resource://VENDOR.Site/Private/Templates/TypoScriptObjects/Mainmenu.html’
entryLevel = 1
maximumLevels = 2
current.attributes.class = ‘active’
}

This feature was implemented in Neos 1.0.0 according to:
http://neos.readthedocs.io/en/1.0/Appendixes/ChangeLogs/100.html#feature-made-menu-classes-for-states-configurable

####It should change <li class="current"> to <li class="active"> but it doesn’t work for me. Can someone confirm this? Am I missing something?
This is the current state:

<ul class="nav navbar-nav">
    <li class="normal"><a href="/en/company.html">Company</a></li>
    <li class="active dropdown">
        <a role="button" aria-expanded="true" data-toggle="dropdown" class="dropdown-toggle">Service</a>
        <ul class="dropdown-menu" role="menu">
            <li class="normal"><a href="/en/service/one.html">One</a></li>
            <li class="current"><a href="/en/service/two.html">Two</a></li>
            <li class="normal"><a href="/en/service/three.html">Three</a></li>
        </ul>
    </li>
</ul>

Kind regards

T.B.

This are two examples how others implemented this:

The first:


The second:

It doesn’t work for me either on Neos 3.3.

Even in the demo at https://github.com/neos/Neos.Demo/blob/master/Resources/Private/Templates/FusionObjects/MainMenu.html#L34 the state is used directly.