[
https://issues.apache.org/jira/browse/VELOCITY-667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Byron Foster resolved VELOCITY-667.
-----------------------------------
Resolution: Fixed
Looks like this will fly, changes have been merged over for inclusion into the
1.6.2 release
> Regression: Specifying #macro without parenthesis no longer throws
> VelocityException
> ------------------------------------------------------------------------------------
>
> Key: VELOCITY-667
> URL: https://issues.apache.org/jira/browse/VELOCITY-667
> Project: Velocity
> Issue Type: Bug
> Affects Versions: 1.6.1
> Reporter: Paul Benedict
>
> With version 1.5, VelocityEngine.mergeTemplate() would throw
> VelocityException if I specified a grammar error in the template. This is
> what I was using my unit test to show that parsing would fail:
> #macro #macro
> Now in 1.6.1, it renders an empty string. Method:
> velocityEngine.mergeTemplate(templateLocation, velocityContext, writer);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]