I use JBoss Rules in my project and I have a problem with this rule
| [then]addList "{value}" {expression}
| =liste.add(new Integer({value})); {expression}
|
The drl line wich matches with this rule is like that:
| addList "125" addList "130" addList "135" addList
"140"
|
The number of element to add could change but when I have more than 9 elements, I have a
compilation problem:
| rg.drools.rule.InvalidRulePackage: unknown:124:0 Unable to expand: niveaux concernes
: addList "20" addList "29" addList "35" addList
"40" addList "45" addList "50" addList "65"
addList "70" addList "75" addList "80". Due to To many
iterations in processing the expression: [addList "20" addList "29"
addList "35" addList "40" addList "45" addList
"50" addList "65" addList "70" addList "75"
addList "80"] with target template: [liste.add(new Integer({value}));
{expression}]
|
Is there a limit of iterations??
Is it a bug?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025346#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...