hi,

it seems the NodeTypeUtil.locateChildNodeDef() method causes a problem in 

CanAddChildNodeCallWithNodeTypeTest.testDefinedAndIllegalType() 
and
CanAddChildNodeCallWithNodeTypeTest.testResidualAndIllegalType()

for me NodeTypeUtil.locateChildNodeDef chooses nt:file nodetype and then 
NodeTypeUtil.getIllegalChildNodeType() returns "nt:base" as illegal child 
nodetype, 
so "nt:base" is legal and illegal child node type for "nt:file" at the same 
time :)

of course  it works if set explicitly the node type ("nt:folder" for ex) instead
of using locateChildNodeDef()...

why not to set the nodetype explicitly (using repositoryStubImpl.properties 
mechanism for ex) so ?

regards,

gena

Reply via email to