[jboss-jira] [JBoss JIRA] (DROOLS-714) Guvnor/BRMS removing multi-line for-loop innards

Daniel Daniel (JIRA) issues at jboss.org
Mon Feb 16 11:03:49 EST 2015


Daniel Daniel created DROOLS-714:
------------------------------------

             Summary: 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


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


For this example above, when I save the freeform DRL, close, and open the rule, it deletes my "insert(dd);" line.




--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list