[TYPO3-mvc] Fluid / Extbase: empty LazyLoading object is fooling if-conditions

Franz Koch typo3.RemoveForMessage at elements-net.de
Thu Jan 28 12:10:33 CET 2010


Hi Sebastian,

>> And for the case I have to debug/patch - do you think this is more a bug
>> of ExtBase (which shouldn't create a LazyLoading object if the db field
>> has no value), or should FLUID take care of it?
> I think that is a bug of Extbase, as the value should be Null if no
> object will be loaded.
...
> but that's of course not as nice as fixing extbase :-)

Which I have done now (I think) :) Actually extbase was already checking 
if there is any relation before fetching/persisting records, but 
unfortunately one step to late in a second method that's getting invoked 
after all the LazyLoading stuff already has been done. I'll file a 
ticket with patch on forge :)

> Thanks for your awesome work on Extbase, I already look forward to
> reviewing all the patches :)

And I'm looking forward to get them committed ;)

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list