-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
5.4.0.Final
-
None
User doesn't get any events from listener for node for which he got view permissions. The only workaround is to remove existing listener and create a new one. Then you will get updates regarding that node.
I was able to reproduce this defect with unit tests. Please find it in the attachments.
There are 2 files ModeShapeTckTest2 and ModeShapeTckTest. They are quite similar, but ModeShapeTckTest2 is more simple case, so I would recomend to look at it first.
Test is called testNotReceivingEventsWhenGrantedPermissionsForNode.
Just copy test (and few additional functions) to the ModeShapeTckTest.java file and run it.