]
Petr Široký commented on DROOLS-714:
------------------------------------
Could you please specify the version you are using?
Guvnor/BRMS removing multi-line for-loop innards
------------------------------------------------
Key: DROOLS-714
URL:
https://issues.jboss.org/browse/DROOLS-714
Project: Drools
Issue Type: Bug
Reporter: Daniel Daniel
Assignee: Mark Proctor
Priority: Minor
{noformat}
rule "Load all bundles"
agenda-group "LoadBundles"
salience 900
when
$bundle : Bundle(processed == false)
then
$bundle.setProcessed(true);
update($bundle);
ScheduleDescriptor descriptor = ScheduleModule.parseSchedule($bundle);
for (Days dd : descriptor.getDays())
{
insert(dd);
}
end
{noformat}
For this example above, when I save the freeform DRL, close, and open the rule, it
deletes my "insert(dd);" line.