You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Mind Bridge (JIRA)" <ta...@jakarta.apache.org> on 2005/09/20 23:28:28 UTC

[jira] Created: (TAPESTRY-654) Foreach and For cache the 'source' parameter even when they should not

Foreach and For cache the 'source' parameter even when they should not
----------------------------------------------------------------------

         Key: TAPESTRY-654
         URL: http://issues.apache.org/jira/browse/TAPESTRY-654
     Project: Tapestry
        Type: Bug
  Components: Framework  
    Versions: 4.0    
    Reporter: Mind Bridge
 Assigned to: Mind Bridge 


The Foreach and For components cache the 'source' parameter and do not re-evaluate it. As a result problems will appear if you have a loop within a loop or a recursive loop construct using Block.

-- 
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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


[jira] Resolved: (TAPESTRY-654) Foreach and For cache the 'source' parameter even when they should not

Posted by "Mind Bridge (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-654?page=all ]
     
Mind Bridge resolved TAPESTRY-654:
----------------------------------

    Fix Version: 4.0
     Resolution: Fixed

Removed caching of 'source' and 'fullSource' 
in Foreach and For. Also ensured that all variables in For 
are local and no properties are used. A loop within a loop 
or recursive loops now work.

> Foreach and For cache the 'source' parameter even when they should not
> ----------------------------------------------------------------------
>
>          Key: TAPESTRY-654
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-654
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>     Reporter: Mind Bridge
>     Assignee: Mind Bridge
>      Fix For: 4.0

>
> The Foreach and For components cache the 'source' parameter and do not re-evaluate it. As a result problems will appear if you have a loop within a loop or a recursive loop construct using Block.

-- 
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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org