[
https://issues.jboss.org/browse/JBRULES-3080?page=com.atlassian.jira.plug...
]
RH Bugzilla Integration commented on JBRULES-3080:
--------------------------------------------------
lcarlon <lcarlon(a)redhat.com> made a comment on [bug
724767|https://bugzilla.redhat.com/show_bug.cgi?id=724767]
Technical note added. If any revisions are required, please edit the "Technical
Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services
team.
New Contents:
Compilation of rules should fail when quotes are not used for string attributes. This did
not happen when numerical values were used as string attributes without quotes, and the
rules using numerical values were never matched.
Compilation of rules should fail when is not used quotes in a String
attribute
------------------------------------------------------------------------------
Key: JBRULES-3080
URL:
https://issues.jboss.org/browse/JBRULES-3080
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-compiler
Affects Versions: 5.1.1.FINAL
Reporter: Alessandro Lazarotti
Assignee: Mario Fusco
Fix For: 5.3.2.Final, 5.4.0.CR1
It is mandatory that Strings are placed between quotes. Guvnor/BRMS or DRL's plain
text should fail if you forgot the quotes but currently it just fails the build if you put
a value different of numerics:
f : Fact( stringAttribute == ab )
It will fail. The same must occur for:
f : Fact( stringAttribute == 12 )
... but it does not happen and the rule is never matched.
It is very important keep the same behaviour for both cases. The rule's author needs
to know about it before the package is built.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira