You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Paul Benedict (JIRA)" <de...@velocity.apache.org> on 2009/02/02 06:41:59 UTC

[jira] Updated: (VELOCITY-667) Regression: Specifying #macro without parenthesis no longer throws VelocityException

     [ https://issues.apache.org/jira/browse/VELOCITY-667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Benedict updated VELOCITY-667:
-----------------------------------

      Component/s: Engine
    Fix Version/s: 1.6.2

> 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
>          Components: Engine
>    Affects Versions: 1.6.1
>            Reporter: Paul Benedict
>             Fix For: 1.6.2
>
>
> 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: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org