Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-373

Enhance ParseErrorException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5
    • 1.5
    • Engine
    • None
    • Operating System: other
      Platform: Other
    • 34388

    Description

      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.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--ParseErrorException.txt
          3 kB
          Malcolm Edgar
        2. ASF.LICENSE.NOT.GRANTED--ParseErrorException.txt
          3 kB
          Malcolm Edgar
        3. ASF.LICENSE.NOT.GRANTED--ParseException.txt
          2 kB
          Malcolm Edgar
        4. ASF.LICENSE.NOT.GRANTED--Parser.txt
          1 kB
          Malcolm Edgar
        5. ASF.LICENSE.NOT.GRANTED--Template.txt
          0.9 kB
          Malcolm Edgar
        6. Parser.jjt.txt
          0.7 kB
          Malcolm Edgar

        Issue Links

          Activity

            People

              Unassigned Unassigned
              malcolm.edgar@gmail.com Malcolm Edgar
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: