jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gennady Azarenkov <gazaren...@gmail.com>
Subject TCK: SessionTest.testMoveItemExistsException()
Date Mon, 27 Feb 2006 15:52:53 GMT
hi, 

in the SessionTest.testMoveItemExistsException():

Node moveNode = srcParentNode.addNode(nodeName2, testNodeType); 
our implementation throws ConstraintViolationException as srcParentNode is nt:folder type
and testNodeType == "nt:unstructured"
so could not be added

It works if i change a node type of adding node like:
Node moveNode = srcParentNode.addNode(nodeName2, getProperty("nodetype3"));

regards,

gena



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message