Hi everybody
We use Drools 3.0.6 as part of a rule framework and directly generate description objects
(PackageDescr, RuleDescr, etc.). Today a rule showed up which cannot be compiled, because
the FunctionFixer utitly generates garbage of our consequence.
The consequence is "varlist.setDouble("a", (7 / 2) + 1);", varlist is
just a fact with a function taking a string and a double. The fix method in
FunctionFixer.java chops this consequence into varlist.setDouble("a",.",(7
/ 2) + 1); If we slightly modify the consequence, e.g. to
"varlist.setDouble("a", 7 / 2);", everything works perfect.
We actually do not want any 'fixes', as we do not use any DSL or other high-level
stuff. Is there a way to bypass theses fixes without modifying the source code?
Thanks in advance,
Lukas
Show replies by date