Sorry... Yes it is a typo
________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Edson Tirelli Sent: Tuesday, September 04, 2007 3:24 PM To: Rules Users List Subject: Re: [rules-users] in 4.0.1 "this" required in nested accessors? Is the single '=' a typo? 2007/9/4, Manukyan, Sergey <[EMAIL PROTECTED]>: Also, Just found, In nested acessors the order has meaning? f.e. TestSupplier(this.testBusiness.statusActive == oldStatus) --> OK! TestSupplier(oldStatus = this.testBusiness.statusActive ) --> FAILED TO COMPILE! Bug ??? -Sergey -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manukyan, Sergey Sent: Tuesday, September 04, 2007 2:44 PM To: Rules Users List Subject: [rules-users] in 4.0.1 "this" required in nested accessors? Edson, Didn't receive reply on my previous post. Please take a look, below is the copy of the post: --------------- I started using 4.0.1, Regarding nested accessors, looks like they work, but they require to put "this" at the beginning. So rule when TestSupplier(testBusiness.statusActive == true) --> FAILS When TestSupplier(this.testBusiness.statusActive == true) --> OK! It fails with the following exception: org.drools.rule.InvalidRulePackage: Unable to determine the used declarations : [Rule name=MY_RULE, agendaGroup=MAIN, salience=10, no-loop=false] at org.drools.rule.Package.checkValidity(Package.java:419) Please confirm this to be a bug and then I will open JIRA for this, or please let me know the reason behind this functionality, Thanks, -Sergey ********************** ** LEGAL DISCLAIMER ** ********************** This E-mail message and any attachments may contain legally privileged, confidential or proprietary information. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this E-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this E-mail message from your computer. _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users -- Edson Tirelli Software Engineer - JBoss Rules Core Developer Office: +55 11 3529-6000 Mobile: +55 11 9287-5646 JBoss, a division of Red Hat @ www.jboss.com
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
