5 Replies Latest reply on Jul 23, 2015 12:08 PM by Ivan Bodrov

    Modeshape 4: transactional changes visibility bug?

    Ivan Bodrov Newbie

      Hello!

       

      After upgrade from 3.8.x to 4.3.0, we've got a bug while working with transactions: some changes are not visible outside. We've managed to reproduce it with this test case: Test.java · GitHub
      This code can be copy-pasted into TransactionsTest.java in current master branch.

       

      Expected result: node removed inside transaction should be visible before commit (STEP 5) and gone after (STEP 7).

      Actual result: node is visible before commit (STEP 5) and still present after (STEP 7).

       

      Is there something wrong with this code, configuration or is it a bug?

       

      Thanks.

       

      Message was edited by: Ivan Bodrov