[
http://jira.jboss.com/jira/browse/JBSEAM-1020?page=comments#action_12355889 ]
Christian Bauer commented on JBSEAM-1020:
-----------------------------------------
Summary:
- There is a bug in Drools 3.0 to do with OR; the unbalanced trees. This seems to be
already identified and confirmed, no need to reproduce it again in a Seam example. The
solution seems to be upgrading to Drools 3.1.
- Upgrading to Drools 3.1 by simply switching the libraries is resulting in an NPE,
someone needs to take the Seam examples/drools/ code, upgrade it, and try to resolve this
issue.
- Logging and debugging is not well described or implemented in Drools, for the Seam
permission system usecase - a developer typically needs more information which Fact was
matched in a Rule, and which didn't match. Document how this can be achieved.
Drools bugs
-----------
Key: JBSEAM-1020
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1020
Project: JBoss Seam
Issue Type: Bug
Components: Security
Reporter: Christian Bauer
Assigned To: Shane Bryzak
Priority: Critical
I want to see what is going on when my rules are evaluated, according to the Drools docs
this is how:
workingMemory.addEventListener( new DebugWorkingMemoryEventListener() );
I have to do that in code right now, would be nice to be able to configure the identity
component externally in config file. It also doesn't work, at least not in JBoss with
a WAR deployment. I don't see any debug printed on System.out. Task: Ask the drools
guys how we get logging for Seam users.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira