[jboss-jira] [JBoss JIRA] Closed: (JBRULES-1061) jsr94 constants wrong package builder config constant, same name as rulebase config constant

Mark Proctor (JIRA) jira-events at lists.jboss.org
Wed Aug 8 23:03:49 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBRULES-1061?page=all ]

Mark Proctor closed JBRULES-1061.
---------------------------------

    Resolution: Done

> jsr94 constants wrong package builder config constant, same name as rulebase config constant
> --------------------------------------------------------------------------------------------
>
>                 Key: JBRULES-1061
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-1061
>             Project: JBoss Rules
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: JSR94
>    Affects Versions:  4.0.0.GA
>            Reporter: Juergen none
>         Assigned To: Mark Proctor
>            Priority: Minor
>             Fix For: 4.0.1
>
>
> org.drools.jsr94.rules.Constants, line 49f:
>     /** <code>RuleExecutionSet</code> rulebase config constant. */
>     public static final String RES_RULEBASE_CONFIG = "javax.rules.admin.RuleExecutionSet.ruleBaseConfiguration";
>     
>     /** <code>RuleExecutionSet</code> package builder config constant. */
>     public static final String RES_PACKAGEBUILDER_CONFIG = "javax.rules.admin.RuleExecutionSet.ruleBaseConfiguration";    
> Packagebuilder config constant is same as rulebase config constant. yields classcast exception if a rulebase config is set:
> Caused by: java.lang.ClassCastException: org.drools.RuleBaseConfiguration
>         at org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(LocalRuleExecutionSetProviderImpl.java:124)
>         at org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(LocalRuleExecutionSetProviderImpl.java:93)

-- 
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

        



More information about the jboss-jira mailing list