2011/12/22 Manuel Ortiz :
> Thank you very much Wolfgang.
>
> Then I understand that this composite restriction compiling error is fixed
> in 5.2.0. Isn't it?
Yes.
-W
>
> Thank you again for your time.
>
> Kind regards,
>
> Manuel Ortiz.
>
> 2011/12/22 Wolfgang Laun
>>
>> Sorry - I should have m
Thank you very much Wolfgang.
Then I understand that this composite restriction compiling error is fixed
in 5.2.0. Isn't it?
Thank you again for your time.
Kind regards,
Manuel Ortiz.
2011/12/22 Wolfgang Laun
> Sorry - I should have made it clear that it doesn't matter *why* one
> of the com
Sorry - I should have made it clear that it doesn't matter *why* one
of the components of a composite restriction is in error. Either a
missing declaration or a type incompatibility - it results in a null
reference, and some agent processing this doesn't check.
-W
2011/12/22 Manuel Ortiz :
> Dear
Dear Wolfgang:
Sorry, I don't understand your answer very well. The bug I report has to do
with composite restrictions, not with static variable declarations. Maybe
my bug description is not very good.
I used "Hello world" example described at
http://downloads.jboss.com/drools/docs/5.1.1.34858.F
Using an undeclared static variable (Message.HELLO) wasn't handled
cleanly in 5.1.1. This has been fixed in 5.2.0.
-W
2011/12/22 Manuel Ortiz :
> Dear Wolfgang:
>
> Just change the "Hello World" rule in the "Hello World" example by this
> one...
>
> rule "Hello World"
> when
> m : Message( status
Dear Wolfgang:
Just change the "Hello World" rule in the "Hello World" example by this
one...
rule "Hello World"
when
m : Message( status == Message.HELLO || != "WrongType", myMessage : message
)
then
System.out.println( myMessage );
m.setMessage( "Goodbye cruel world" );
m.setStatus( Message.GOO
Now would you mind posting an example reproducing this error...
-W
On 22/12/2011, Manuel Ortiz wrote:
> Dear Sirs:
>
> I'm working on an application which writes a set of rules using information
> which is stored in BDD tables. This information can be 'wrong' concerning
> rule compilation, and I
Dear Sirs:
I'm working on an application which writes a set of rules using information
which is stored in BDD tables. This information can be 'wrong' concerning
rule compilation, and I expect that Drools reports the corresponding
compilation errors.
I've found that PatternBuilder.createRestrictio