You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Will Glass-Husain (JIRA)" <de...@velocity.apache.org> on 2008/11/23 22:19:44 UTC

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

    [ https://issues.apache.org/jira/browse/VELOCITY-644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650052#action_12650052 ] 

Will Glass-Husain commented on VELOCITY-644:
--------------------------------------------

That looks pretty good to me.  Did you include the change to StrictReferenceTestCase by accident?

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