Bug #44312
closedSliding levelmedia not working for alternate languages in 6.0.0
100%
Description
Assume the following pagetree:
- MainPage (Two FAL media images on page and alternate language record)
- SubPage1 (NO media on page or alternate language record)
- Subpage2 (NO media on page or alternate language record)
Using the following TypoScript we expect to see the first image on all three pages for the default language AND the alternate language:
page.5 = IMAGE page.5 { file { import.data = levelmedia:-1,slide import.listNum = 0 treatIdAsReference = 1 } }
Default language works as expected, but there is NO image outputted for the alternate language on all three pages.
Using the following TypoScript we expect to see the public path to the first FAL media image for the default language AND the alternate language:
page.5 = FILES page.5 { references.data = levelmedia:-1,slide references.listNum = 0 renderObj = TEXT renderObj.data = file:current:publicUrl }
Default language works as expected, but there is NO path outputted for the alternate language on all three pages.
Files
Updated by Helmut Hummel almost 12 years ago
Hi,
can you double check, if the patch in #43668 fixes this issue? With the patch included from there, I cannot reproduce the problem.
Updated by Andreas Wolf almost 12 years ago
- Category set to File Abstraction Layer (FAL)
- Status changed from New to Accepted
- Target version set to 6.0.1
Updated by Marcel Burkhalter almost 12 years ago
Hi Helmut
Yes, I double checked: fresh 6.0.0 source base, patch applied, ensured that the TYPO3 code caches and APC PHP caches are flushed and tested again.
The issue with the CUR menu state is fixed (hence I know that applying the patch worked) but still no images or path to image using the TypoScript from the issue description.
I also double checked that all pages are translated and ensured that the translation on the upmost level has 2 media resources assigned as mentioned in the issue description. I also tried to add a new media resource for the translation of the page "SubPage1" - cleared all caches in BE and still no image for the translation.
Updated by Devid Messner almost 12 years ago
- File RootlineUtility2.diff RootlineUtility2.diff added
Hey,
I think i have the same problem. This patch works for me.
Updated by Helmut Hummel almost 12 years ago
Devid Messner wrote:
I think i have the same problem. This patch works for me.
I just found out the same. but solved it differently. Thanks for confirming.
I adapted the fix for #43668 to also fix this issue with the according test.
Updated by Gerrit Code Review almost 12 years ago
- Status changed from Accepted to Under Review
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/16992
Updated by Gerrit Code Review almost 12 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/16992
Updated by Gerrit Code Review almost 12 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/16992
Updated by Gerrit Code Review almost 12 years ago
Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/17475
Updated by Helmut Hummel almost 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 025887dba6370dbfd50284a9f01d43d7f2b699ec.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed