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

Name of template truncated in error messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 1.5
    • None
    • None
    • None
    • Windows XP Pro SP2, JDK 1.5

    Description

      Following was posted to mailing list:

      On 3/9/07, Will Glass-Husain <wglasshusain@gmail.com> wrote:
      > Ouch. Always hate that first bug report after a new release!
      >
      > Would you mind please creating a JIRA issue at:
      > http://issues.apache.org/jira
      >
      > On 3/9/07, Michael Giroux <mlgiroux@gmail.com> wrote:
      > > I just upgraded to Velocity 1.5. A key feature for me is the new
      > > functionality to include filename, line and column in error messages.
      > > When I was testing this feature with a faulty template, I discovered
      > > that the filename is being truncated. In the error message below, the
      > > actual file name should be "business-service-interface.vm" It appears
      > > the parser truncated at the first "-".
      > >
      > >
      > > java.lang.Exception: Encountered "#else" at line 51, column 33 of business
      > > Was expecting one of: ...
      > >
      > >
      > > Michael:
      > >
      > > ---------------------------------------------------------------------
      > > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
      > > For additional commands, e-mail: user-help@velocity.apache.org
      > >
      > >
      >
      >
      > –
      > Forio Business Simulations
      >
      > Will Glass-Husain
      > wglass@forio.com
      > www.forio.com
      >
      > ---------------------------------------------------------------------
      > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
      > For additional commands, e-mail: user-help@velocity.apache.org
      >
      >

      Attachments

        Activity

          People

            Unassigned Unassigned
            michaelgiroux Michael Giroux
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: