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

Petr Široký (JIRA) issues at jboss.org
Mon Feb 16 11:06:49 EST 2015


    [ https://issues.jboss.org/browse/DROOLS-714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040597#comment-13040597 ] 

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.



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



More information about the jboss-jira mailing list