Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.5
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: Other
    • Bugzilla Id:
      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. Parser.jjt.txt
          0.7 kB
          Malcolm Edgar
        2. ASF.LICENSE.NOT.GRANTED--Template.txt
          0.9 kB
          Malcolm Edgar
        3. ASF.LICENSE.NOT.GRANTED--ParseErrorException.txt
          3 kB
          Malcolm Edgar
        4. ASF.LICENSE.NOT.GRANTED--ParseErrorException.txt
          3 kB
          Malcolm Edgar
        5. ASF.LICENSE.NOT.GRANTED--Parser.txt
          1 kB
          Malcolm Edgar
        6. ASF.LICENSE.NOT.GRANTED--ParseException.txt
          2 kB
          Malcolm Edgar

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: