[rules-users] is null or is not Null failing for a String field check in Guvnor drl

Michael Anstis michael.anstis at gmail.com
Mon Sep 5 15:13:23 EDT 2011


It was a bug but was fixed a while ago.

I can't recall if it made 5.2 - but it definately doesn't exist in 5.3.0.CR1
(or master branch as of today - I just checked).

2011/9/5 puja nandamuri <med_9501 at yahoo.com>

> Hi ,
>
> when using a business rule guided editor ,
>
> for a fact, when I select a string type field from the drl guided editor in
> Guvnor  and select
>  is null from the dropdown list of operators,
>
> I get the following validation error when I do a validate on the rule.
>
> no viable alternative at input 'null' in rule
> "Asset_Description_NullCheckRule"
>
> when I do a View Source, it shows the source as
>
> when
>             Asset( description == null null )
>
> Is this a bug ?
>
> if I select the free form drl option and create the when condition as
>
> Asset( description == null ) , it validates fine.
>
> Thanks,
>
> Ram
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110905/4b9b207d/attachment.html 


More information about the rules-users mailing list