jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Malzer Ferdinand OSP sIT <Ferdinand.Mal...@s-itsolutions.at>
Subject AW: using Node.addMixin("mix:lifecycle") on nt:file nodes
Date Wed, 25 Apr 2012 09:59:27 GMT
hello,
add the mixin type mix:lifecycle to a node and save the change.
after this I try to use the method Node.getAllowedLifecycleTransistions() and get the following
exception:

javax.jcr.ItemNotFoundException: 5fd7d7f1-ceff-4b71-9df9-527702933b65/{http://www.jcp.org/jcr/1.0}lifecyclePolicy
	at org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:384)
	at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:328)
	at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:622)
	at org.apache.jackrabbit.core.NodeImpl$3.perform(NodeImpl.java:1175)
	at org.apache.jackrabbit.core.NodeImpl$3.perform(NodeImpl.java:1171)
	at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
	at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
	at org.apache.jackrabbit.core.NodeImpl.getProperty(NodeImpl.java:1171)
	at org.apache.jackrabbit.core.NodeImpl.getAllowedLifecycleTransistions(NodeImpl.java:3431)

does anyone have an idea what goes wrong?
is there anywhere more documentation about JCR liefcycle management available?

best regards.
ferry malzer

Mime
View raw message