[ 
https://issues.apache.org/jira/browse/VELOCITY-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nathan Bubna resolved VELOCITY-763.
-----------------------------------

    Fix Version/s: 1.7
                   2.0
       Resolution: Fixed

Technically, it was already fixed in 2.0, but i added a test to keep an eye on 
it.

> $foreach.isLast() is always false
> ---------------------------------
>
>                 Key: VELOCITY-763
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-763
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.7-beta1
>            Reporter: Sergiy Kovalchuk
>             Fix For: 1.7, 2.0
>
>
> $foreach.isLast() is not detecting last element.
> Test case:
> #foreach($i in [1..3])
>     $foreach.isLast()<br/>
> #end
> Result:
> false
> false
> false

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to