Can you open a ticket? It might be better if I use mapReduce in the 
translate behavior instead

On Tuesday, August 19, 2014 9:54:30 AM UTC+2, Thomas von Hassel wrote:
>
> Running though a findPath result set to generate breadcrumbs
>
> /thomas
>
>
> On 19 Aug 2014, at 09:52, José Lorenzo <[email protected]> wrote:
>
> You are right... MapReduce will run before any formatters, so I would 
> suggest using a formatter instead. In general you can achieve the same with 
> both.
>
> What do you need to do?
>
> On Tuesday, August 19, 2014 12:34:24 AM UTC+2, Thomas von Hassel wrote:
>>
>> ah, findList uses format results and not map() reduce()
>>
>> the entity i get in map() only has an array of _i18n entities not the 
>> _translations array set
>>
>> On 19 Aug 2014, at 00:27, José Lorenzo <[email protected]> wrote:
>>
>> This tests shows that it is possible 
>> https://github.com/cakephp/cakephp/blob/3.0/tests/TestCase/Model/Behavior/TranslateBehaviorTest.php#L132
>>
>> What problems are you having?
>>
>> On Monday, August 18, 2014 10:15:16 PM UTC+2, Thomas von Hassel wrote:
>>>
>>> When doing map/reduce on a model with translated fields, there is not 
>>> good way to get the translated content in the map/reduce fase except to 
>>> look in the `_i18n` association ? 
>>>
>>> /thomas 
>>>
>>>
>> -- 
>> Like Us on FaceBook https://www.facebook.com/CakePHP
>> Find us on Twitter http://twitter.com/CakePHP
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "CakePHP" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/cake-php.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
> -- 
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to