Hello
Jackrabbit throws an exception for every mandatory property, which was set
before the addMixin.
My nodetype definition:
[nt:foo]
mixin
- bar(string) mandatory
*this throws the exception "mandatory property {}bar does not exist"*
Node node = session.getRootNode().addNode("test");
node.setProperty("bar", "test");
node.addMixin("nt:foo");
node.getSession().save();
*and this works at least with alpha 4 and before:
*Node node = session.getRootNode().addNode("test");
node.addMixin("nt:foo");
node.setProperty("bar", "test");
node.getSession().save();
regards,
Martin