[rules-users] Cannot use ViewChangeEventListener in tests

mreynolds mireynol at redhat.com
Fri Oct 25 09:17:23 EDT 2013


I fixed the issue today, it was a subtle bug that I overlooked in the helper
class that creates the knowledge session. I had a local variable for the
session but I never used it. Therefore, when ever I called the
getKnowledgeSession method it built a new one, instead of returning the one
it already built. I was registering listeners on one session and then the
queries were being interrogated on another one.



--
View this message in context: http://drools.46999.n3.nabble.com/Cannot-use-ViewChangeEventListener-in-tests-tp4026491p4026498.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list