[
https://issues.apache.org/jira/browse/VELOCITY-667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665131#action_12665131
]
Byron Foster commented on VELOCITY-667:
---------------------------------------
If this fix looks good, and we want to move it to 1.6.2 we'll need to move the
Parser.jjt change to the 1.6.2 branch, and re-run javacc in that branch
> Regression: Specifying bad grammar 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]