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
_______________________________________________
rules-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-dev

Reply via email to