I’m in the progress of updating from Drools 5.1 to 5.2 in the hope of solving problems we are having with intermittent mysteriously missing activations.

 

I’ve found a regression with the compiler which I don’t know whether anybody else has noticed before.

 

In our application we’ve got two Content classes in different packages, and unfortunately one of our rule files has to reason over both of them.

In drools 5.1 this was fine, we imported one of them and then used the fully qualified name for the other.

 

I’m just upgrading to 5.2.0-Final and this no longer works. When resolving the unqualified class name drools/mvel(?) was choosing the package that we hadn’t imported!

This obviously then gave us loads of misleading error messages about not being able to find fields.

 

Fully quallifiying all references to both classes fixed the issue but something obviously isn’t behaving properly.

 

Thomas




**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00
**************************************************************************************