jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gennady Azarenkov <gazaren...@gmail.com>
Subject TCK: NodeTypeUtil.locateChildNodeDef prb
Date Tue, 28 Feb 2006 11:15:39 GMT
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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message