velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Benedict (JIRA)" <...@velocity.apache.org>
Subject [jira] Updated: (VELOCITY-667) Regression: Specifying #macro without parenthesis no longer throws VelocityException
Date Mon, 02 Feb 2009 05:41:59 GMT

     [ 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


Mime
View raw message