After I have set the authrel builder to inactive, these lines in a jsp
throw an exception:
  <mm:listnodes type="typedef">
    <mm:remove referid="nodetype"/>
    <mm:import id="nodetype"><mm:field name="name"/></mm:import>
    <mm:maycreate type="${nodetype}">
      ...
    </mm:maycreate>
  </mm:listnodes>

The exception I get is:
org.mmbase.bridge.BridgeException: Node manager with name authrel does not
exist.
In other words, "authrel" is not considered a valid type attribute for
"maycreate" since it is not active.
On the other hand, I would say it is a valid type (it is listed as
"typedef"), although it is inactive. Therefore the checked condition is
false.
The same situation may occur for the other mayXXXXX tags.
Is this behaviour (exceptions triggered by inactive types) intentional?

Rob van Maris
Developer

Finalist IT Group
Java Specialists
-------------------------------------------------------------
Amsterdam, The Netherlands
Office: +31 20 5962321 (Direct)
Mobile: +31 651444006
Fax: +31 20 5962331
-------------------------------------------------------------




Reply via email to