[jboss-jira] [JBoss JIRA] Closed: (JBRULES-504) Cannot use the object's property named as "attributes" in a rule

Edson Tirelli (JIRA) jira-events at jboss.com
Thu Nov 9 17:56:42 EST 2006


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

Edson Tirelli closed JBRULES-504.
---------------------------------

    Resolution: Duplicate Issue

This is a duplicate of: http://jira.jboss.com/jira/browse/JBRULES-214

> Cannot use the object's property named as "attributes" in a rule
> ----------------------------------------------------------------
>
>                 Key: JBRULES-504
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-504
>             Project: JBoss Rules
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Drl Parser/Builder
>    Affects Versions: 3.0.4
>         Environment: Windows 2000 with Jdk1.5
>            Reporter: Vineeth Varghese
>         Assigned To: Mark Proctor
>         Attachments: src.zip
>
>
> The word "attributes" seem to be a keyword in JBoss Rules. Basically if I have an Object that has a property named as "attributes",  I cannot use it in the IDE or create a rulebase out of it. We end up getting the following error:-
> org.drools.rule.InvalidRulePackage: unknown:9:19 Unexpected token 'attributes'
> 	at org.drools.rule.Package.checkValidity(Unknown Source)
> 	at org.drools.common.AbstractRuleBase.addPackage(Unknown Source)
> 	at com.sample.DroolsTest.readRule(DroolsTest.java:72)
> 	at com.sample.DroolsTest.main(DroolsTest.java:23)
> Even the IDE highlights this as an error.

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