[Typo3-dev] BUG: Conditions processed twice

"Kasper Skårhøj" kasper at typo3.com
Mon Dec 22 21:40:37 CET 2003


Thanks carlos, I'll look at this.


Good to hear from you! Long time since, isn't it. How are you doing?



God bless

- kasper

*********** REPLY SEPARATOR  ***********

On 22-12-2003 at 13:10 Carlos Chiari (DE) wrote:

>Hi List:
>
>I have found a bug (maybe there is a list somewhere for bugs... sorry):
>
>userFunc on CONDITIONS are being parsed twice , and thus the userFunc
>throws
>umpredictable results.
>
>example:
>------template ------
>[userFunc = tx_myfunction(1)]
> page.100 = TEXT
> page.100.data = register:counter
>[global]
>---------------------
>
>tx_myfunction($I) {
>$GLOBALS['TSFE']->register['counter'] ++;
>}
>
>page.100 shows that counter has been set to 2.
>
>I have even thought that maybe it is that CONDITIONS are procesed twice,
>userFunc or not, but as the content inside is fixed, ie: you can't set
>something like page.$counter = something, you can't tell that the
content
>has been rendered twice.
>
>Anybody knows why this happens and how can be fixed?
>
>Best regards, and merry holidays to you all.
>
>Carlos
>
>
>
>_______________________________________________
>Typo3-dev mailing list
>Typo3-dev at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev



God bless

- kasper
- kasper

--------------------- o ---------------------
Mange kokke fordærver maden.








More information about the TYPO3-dev mailing list