Could you paste a short unit test method that recreates this? I just tried the
following, and didn't see any exceptions (2.0.0 CVS HEAD)
| public void testVersionWithAddNodeImplicitTx() throws Exception
| {
| TestVersion v = new TestVersion("Test");
| Node root = cache.getRoot();
| Fqn f = Fqn.fromString("/a/b");
|
| cache.getInvocationContext().getOptionOverrides().setDataVersion(v);
|
| root.addChild(f);
|
| assertNotNull(cache.get(f));
| assertEquals(v, ((NodeSPI) cache.get(f)).getVersion());
|
|
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002845#4002845
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002845
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user