jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gennady Azarenkov <gazaren...@gmail.com>
Subject Re: NodeTypeUtil.locateChildNodeDef prb
Date Tue, 28 Feb 2006 12:03:05 GMT
sorry, 

NodeTypeUtil seemed to be already fixed :)
forget it so

gena
  ----- Original Message ----- 
  From: Gennady Azarenkov 
  To: jackrabbit-dev@incubator.apache.org 
  Sent: Tuesday, February 28, 2006 1:15 PM
  Subject: 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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message