[rules-users] in 4.0.1 "this" required in nested accessors?

Manukyan, Sergey SManukyan at lear.com
Fri Aug 31 15:38:43 EDT 2007


Folks,

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=HQ To Active From Probation. Mfg On Probation
Exists., 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.




More information about the rules-users mailing list