[rules-dev] https://issues.jboss.org/browse/JBRULES-2432

Michael Anstis michael.anstis at gmail.com
Wed Sep 21 05:01:39 EDT 2011


This JIRA basically says it's a bug that Templates cannot be expanded unless
a value is given for each template-key.

E.G. Smurf( name == "@{smurfName}", colour=="@{smurfColour}" ) won't be
included in the generated DRL unless a value for "smurfName" and
"smurfColour" is given.

IMO, I'd agree - it's a painful limitation, however thought I'd ask if
anybody knows of any history as to why it might have been implemented this
way before I stamp over what might be considered as "correct behavior"?

Obviously, in my example, Smurfs are always blue ;)

Cheers,

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20110921/bb118621/attachment.html 


More information about the rules-dev mailing list