[Flow] Mapping fails
Christian Loock
chl at vkf-renzel.de
Thu May 22 10:03:02 CEST 2014
To be fair, you would expect the \TYPO3\Flow\var_dump() to load
lazyloaded properties, so you can see their values. Glad it helped :)
On 22.05.2014 10:02, Carsten Bleicker wrote:
> indeed. $source->getFacturaItems()->first()->getUnitWeight() gives me a proxy
> $source->getFacturaItems()->first()->getUnitWeight()->getValue() shows the right value
>
> i was a little bit shocked by this debug ;)
>
> thanks christian
>
> Am 22.05.2014 um 09:53 schrieb Christian Loock <chl at vkf-renzel.de>:
>
>> Did you try to access your property? Maybe it is being lazy loaded?
>> On 22.05.2014 09:53, Carsten Bleicker wrote:
>>> Fetching an object with persistenceManager->getObjectByIdentity()
>>> but result is missing some data wich is present in the db.
>>> I have no idea whats going on here :(
>>>
>>> Please see Image wich shows debug and db entries:
>>> https://www.dropbox.com/s/v6x4x57i7b2hlzd/mapping_fails.png
>>>
>>> Thanks
>>> Carsten
>>>
>>>
>>>
>>> _______________________________________________
>>> Flow mailing list
>>> Flow at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>> --
>> Christian Loock
>> Web Developer
>> Renzel Agentur
>> www.renzel-agentur.de
>>
>> _______________________________________________
>> Flow mailing list
>> Flow at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>
>
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
--
Christian Loock
Web Developer
Renzel Agentur
www.renzel-agentur.de
More information about the Flow
mailing list