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)" <ji...@apache.org> on 2005/09/18 23:25:54 UTC

[jira] Updated: (VELOCITY-96) No error reporting when #parse doesn't

     [ http://issues.apache.org/jira/browse/VELOCITY-96?page=all ]

Will Glass-Husain updated VELOCITY-96:
--------------------------------------

    Bugzilla Id:   (was: 11088)
      Component: Source
                     (was: Build)
    Fix Version: 1.5
    Description: 
At least in some circumstances, when #parse can't parse the included
file, no exception is thrown.  For example, if you #parse a file that
contains the text below, no error is reported, nothing gets included,
and future #parses don't work.  (This might be related to bug 11065.)
In the sample below, the macro call is missing its closing parenthesis.

----BEGIN SAMPLE----
#macro (myMacro $arg1 $list)
This is text from velPTest2.vm
#myMacro('name', ['apples', 'oranges']
More text

  was:
At least in some circumstances, when #parse can't parse the included
file, no exception is thrown.  For example, if you #parse a file that
contains the text below, no error is reported, nothing gets included,
and future #parses don't work.  (This might be related to bug 11065.)
In the sample below, the macro call is missing its closing parenthesis.

----BEGIN SAMPLE----
#macro (myMacro $arg1 $list)
This is text from velPTest2.vm
#myMacro('name', ['apples', 'oranges']
More text

    Environment: 
Operating System: Solaris
Platform: Sun

  was:
Operating System: Solaris
Platform: Sun

      Assign To:     (was: Velocity-Dev List)

We need to resolve this before 1.5 release.

> No error reporting when #parse doesn't
> --------------------------------------
>
>          Key: VELOCITY-96
>          URL: http://issues.apache.org/jira/browse/VELOCITY-96
>      Project: Velocity
>         Type: Bug
>   Components: Source
>     Versions: 1.3-rc1
>  Environment: Operating System: Solaris
> Platform: Sun
>     Reporter: Paul Lynch
>      Fix For: 1.5

>
> At least in some circumstances, when #parse can't parse the included
> file, no exception is thrown.  For example, if you #parse a file that
> contains the text below, no error is reported, nothing gets included,
> and future #parses don't work.  (This might be related to bug 11065.)
> In the sample below, the macro call is missing its closing parenthesis.
> ----BEGIN SAMPLE----
> #macro (myMacro $arg1 $list)
> This is text from velPTest2.vm
> #myMacro('name', ['apples', 'oranges']
> More text

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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