[TYPO3-mvc] Is <f:link.action> broken when linking to translated objects

Henrik Møller Rasmussen info at hmrdesign.dk
Fri Apr 9 10:08:03 CEST 2010


On 09/04/10 10.01, Jochen Rau wrote:
> Hi.
>
> On 09.04.10 09:49, Henrik Møller Rasmussen wrote:
>> Hello,
>>
>> I have created a small product catalog using extbase. The catalog
>> supports three languages.
>>
>> I have turned realurl off for debugging.
>>
>> From my template, I do the following:
>>
>> <f:link.action action="show" arguments="{product : product}">
>> {product.title}
>> </f:link.action>
>>
>> This works perfect in the default language. But when I change to the
>> other languages, the uid put in the url by extbase is the uid from the
>> translated product.
>>
>> This works partly, but when using mergeIfBlank etc. extbase cannot
>> retrieve the information correctly.
>>
>> If you manually puts the &L=1&...[product]={def. lang. product uid}
>> everything works.
>>
>> So my question is: Do I do something wrong, or is the <f:link.action>
>> broken when using multiple languages?
>
> This is indeed not the correct behavior. We will fix this soon. Steffen
> Ritter did a great job to investigate all the possible cases for
> localized domain models. The review of his patch is one of the next
> items on my todo list.
>
> Regards
> Jochen
>

Nice - is there a work-around to use until a patch is created? Would it 
be possible to create a special view-helper to use until?

Henrik




More information about the TYPO3-project-typo3v4mvc mailing list