Anybody care if I merge this pull request? I was involved with the original emails on drools-user.
It'd be a shame to let (new?) community involvement slip by.
sent on the move
---------- Forwarded message ----------
From: "magnusvojbacke" <notifications@github.com>
Date: 22 Dec 2012 15:39
Subject: [drools] Fixing issue where indented keywords would fail template expansion. (#170)
To: "droolsjbpm/drools" <drools@noreply.github.com>
In template files, whitespaces before keywords would cause exceptions.
template header
age
type
log
Gives the exception:
org.drools.template.parser.DecisionTableParseException: Missing header
at org.drools.template.parser.DefaultTemplateContainer.parseTemplate(DefaultTemplateContainer.java:87)
rule "Cheese fans_@{row.rowNumber}"
when
Person(age == @{age})
Gives the exception:
java.lang.NullPointerException
at org.drools.template.parser.DefaultTemplateColumn.createCellCondition(DefaultTemplateColumn.java:67)
git pull https://github.com/magnusvojbacke/drools templates_indented_keywords
Or view, comment on, or merge it at:
https://github.com/droolsjbpm/drools/pull/170
—
Reply to this email directly or view it on GitHub.