You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Gennady Azarenkov <ga...@gmail.com> on 2006/02/28 12:15:39 UTC
TCK: NodeTypeUtil.locateChildNodeDef prb
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