[TYPO3-mvc] JSON - based View

Frank Gerards F.Gerards at esolut.de
Fri May 11 09:52:16 CEST 2012


Hi Dennis,

thx for digging into the code :)... I modified the "elseif" in line 239 as a quick hack as removing @lazy from bereich didn't work after clearing the cache - as soon as I have time to investigate that maybe-flaw further I can post a review on gerrit.

Thx 4 your help,
Frank

-----Ursprüngliche Nachricht-----
Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org [mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von Dennis Ahrens
Gesendet: Donnerstag, 10. Mai 2012 17:10
An: typo3-project-typo3v4mvc at lists.typo3.org
Betreff: Re: [TYPO3-mvc] JSON - based View

Hi Frank,

On 10.05.2012 15:55, Frank Gerards wrote:
> thx, saadly your config doesnt do the trick :S ... it only renders ObjektA with all properties but the "bereich" property. I debugged into your class and the right object structures is passed to the functions, but the configuration is "lost" after the"location" branch is rendered - any clue why this could happen ?

Had a short look at the source - there is a special condition for LazyLoadingProxies, but not for LazyLoadingObjectStorages - maybe that's the issue - try to remove the @lazy on the bereich property, just for testing it (remind the cache clearing! :)).

regards
Dennis
_______________________________________________
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