[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:06:49 EST 2015
[ https://issues.jboss.org/browse/DROOLS-714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Daniel updated DROOLS-714:
---------------------------------
Description:
{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.
was:
{quote}
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
{quote}
For this example above, when I save the freeform DRL, close, and open the rule, it deletes my "insert(dd);" line.
> 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