[TYPO3-mvc] blank page while debugging extbase/fluid objects

Frank Gerards F.Gerards at esolut.de
Mon May 7 08:41:37 CEST 2012


Hi,

we use 4.6 in that project - seems it's a new feature :).... I will look into the 4.7 version :)... what worries me more is that if I do a <f:debug>{myObject}</f:debug> on a normal Result-Set I retrieve from a repository I get a blank page...

-----Ursprüngliche Nachricht-----
Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org [mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von typo3 at litedesigns.nl
Gesendet: Samstag, 5. Mai 2012 11:09
An: TYPO3 v4 MVC project
Betreff: Re: [TYPO3-mvc] blank page while debugging extbase/fluid objects

Hi Frank,

What version of Extbase are you using? I'm using Extbase 4.7 and i have the Tx_Extbase_Utility_Debugger class.

Have a great weekend all!
Tim

> Hi,
>
> hmm - Tx_Extbase_Utility_Debugger isnt present in my version of the 
> framework anymore.
> But it should be possible to debug a single object out of a resulting 
> Array of Objects ?!?
>
> Any other clues ?
>
>
> -----Ursprüngliche Nachricht-----
> Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org
> [mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag 
> von typo3 at litedesigns.nl
> Gesendet: Freitag, 4. Mai 2012 15:20
> An: TYPO3 v4 MVC project
> Betreff: Re: [TYPO3-mvc] blank page while debugging extbase/fluid 
> objects
>
> Hi,
>
> Extbase has a nice Debugger class built in, try this for debugging 
> larger
> objects:
>
> Tx_Extbase_Utility_Debugger::var_dump($variable)
>
> Kind regards,
> Tim
>
>
>> I found this sometimes, debug in fluid or in my controller would just 
>> cause a white page to be shown, or th epage would timeout.
>>
>> I found to get round this that I had to debug just one property at a 
>> time, the ones that I was interested in seeing.
>>
>>
>> "Frank Gerards" <F.Gerards at esolut.de> schrieb im Newsbeitrag 
>> news:mailman.727.1336118517.556.typo3-project-typo3v4mvc at lists.typo3.org...
>> Hi,
>>
>>
>>
>> with TYPO3 4.6 I get a blank page every time I try to debug the 
>> result of a $this-><repository>->findAll(); call,
>>
>> be it in the controller or in the fluid view. I'm aware that I cannot 
>> debug directly the extbase model-objects returned by the findAll in 
>> the controller without a ->toArray() assignment, but in the fluid 
>> view a <f:debug> {myResultObj}</f:debug> has to work, hasn't it ?
>>
>>
>>
>> I also tried to to a <for each...> loop and <f:debug> each loop-item 
>> but there is also a blank page in the frontend with nothing in it.
>>
>>
>>
>> Anybody has encountered similar behavior ?
>>
>>
>>
>> Thx 4 info,
>>
>> Frank
>>
>>
>> _______________________________________________
>> TYPO3-project-typo3v4mvc mailing list 
>> TYPO3-project-typo3v4mvc at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4
>> m
>> vc
>>
>
>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4m
> vc _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4m
> vc
>

_______________________________________________
TYPO3-project-typo3v4mvc mailing list
TYPO3-project-typo3v4mvc at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc


More information about the TYPO3-project-typo3v4mvc mailing list