]
Mario Fusco resolved DROOLS-2594.
---------------------------------
Resolution: Cannot Reproduce
drools compiler doesn't accept is as getter for boolean attribute
of POJO
-------------------------------------------------------------------------
Key: DROOLS-2594
URL:
https://issues.jboss.org/browse/DROOLS-2594
Project: Drools
Issue Type: Bug
Environment: CentOS 7, maven build
Reporter: Gal Nitzan
Assignee: Mario Fusco
Priority: Critical
Labels: drools, drools-compiler
Hi, based on [7.7.0
documentation|https://docs.jboss.org/drools/release/7.7.0.Final/drools-do...]
a POJO boolean getter can be isMyAttribute or getMyAttribute.
We get the following exception when using is as prefix for boolean getter as follows:
2018-05-28 22:17:41 [main] ERROR o.d.c.kie.builder.impl.KieProject - Unable to build
KieBaseModel:myKbase
Unable to Analyse Expression current == true:
[Error: unable to resolve method using strict-mode: com.acme.pojos.current()]
[Near : {... current == true ....}]