You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by bu...@apache.org on 2005/04/10 12:06:35 UTC

DO NOT REPLY [Bug 34388] New: - Enhance ParseErrorException

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34388>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34388

           Summary: Enhance ParseErrorException
           Product: Velocity
           Version: 1.5
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Source
        AssignedTo: velocity-dev@jakarta.apache.org
        ReportedBy: malcolm.edgar@gmail.com


Enhance the ParseErrorException to report:
* template name (path)
* error line
* error column

The Click framework attempts to render the template error highlighting the
offending line. However when templates or macros are included in a page, the 
source of the error cannot be determined from the ParseErrorException message.

If the additional properties could be added to the ParseErrorException
the framework could accurately render the offending template error. This
information should enable quicker debugging of usage errors by all Velocity users.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org