In dynamic loading complex = false still tries to load

I have the following xml for a menu with dynamic loading

<?xml version="1.0" encoding="UTF-8"?>
<menu>
  <item text="Logout" id="logout" complex="false">
    <userdata name="menutype">ACT</userdata>
    <userdata name="menuid">logout</userdata>
    <userdata name="menuxsize">0</userdata>
    <userdata name="menuysize">0</userdata>
    <userdata name="menuhdr">Logout</userdata>
    <userdata name="menuurl">/application/dologout</userdata>
    <userdata name="menuopparams">NIL</userdata>
    <userdata name="menusingleuser">N</userdata>
  </item>
  <item text="Agent" id="13" complex="false">
    <userdata name="menutype">SNU</userdata>
    <userdata name="menuid">Agent</userdata>
    <userdata name="menuxsize">0</userdata>
    <userdata name="menuysize">0</userdata>
    <userdata name="menuhdr">Agent</userdata>
    <userdata name="menuurl">NIL</userdata>
    <userdata name="menuopparams">NIL</userdata>
    <userdata name="menusingleuser">N</userdata>
  </item>
  <item text="Currency" id="16" complex="true">
    <userdata name="menutype">SNU</userdata>
    <userdata name="menuid">Currency</userdata>
    <userdata name="menuxsize">0</userdata>
    <userdata name="menuysize">0</userdata>
    <userdata name="menuhdr">Currency</userdata>
    <userdata name="menuurl">NIL</userdata>
    <userdata name="menuopparams">NIL</userdata>
    <userdata name="menusingleuser">N</userdata>
  </item>
</menu>

When I mouse over Logout or Agent it tries to load a menu as well even though they are set to complex=“false”. Please can you tell me what I am doing wrong.

Thanks

The value of the “complex” attribute can be any. However, if it is set, the item will be marked as “complex” and menu will try to load its sub items.

“13” and “logout” items should contain complex attribute at all.

Personally I think that is a BUG because when you iterate through a set of menu options you are either setting an attribute to ‘true’ or ‘false’ not suppressing the attribute. It is a real pain to work like this.

It is impossible to change the complex attribute logic, as other customers has been using this feature with such “complex” attribute more than year. And you are the first who has complained about it.

I think that everyone who is using it would be including ‘complex=true’ or ‘complex=false’, rather than just ‘complex’, so if you did change it to work logically there would be no problem, in my opinion.

I was just a bit surprised because normally you guys are quite consistent in your approach to ‘true’ and ‘false’ flags across all your systems.

Regards