You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Nathan Bubna (JIRA)" <de...@velocity.apache.org> on 2008/11/24 18:01:47 UTC

[jira] Resolved: (VELOCITY-644) Wrong template name in Exception Message

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

Nathan Bubna resolved VELOCITY-644.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6

Ok, the fix and extraneous changes are in.  I'd rather have them separate, but it's not worth being picky. ;)

Updated 1.6 test build to come shortly....

> Wrong template name in Exception Message
> ----------------------------------------
>
>                 Key: VELOCITY-644
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-644
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.6-beta1
>            Reporter: Byron Foster
>             Fix For: 1.6
>
>         Attachments: fix644.patch
>
>
> If a reference within a macro causes an Exception, and the macro is defined in a different file, then the Exception message thrown by Velocity reports the name of the calling template file, and not the file that defines the macro.  However, the column number and line number are correct for the macro file.

-- 
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