Project

General

Profile

Actions

Bug #44312

closed

Sliding levelmedia not working for alternate languages in 6.0.0

Added by Marcel Burkhalter over 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2013-01-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

RootlineUtility2.diff (1.34 KB) RootlineUtility2.diff Devid Messner, 2013-01-11 12:04

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #43668: Rootline in TSFE->tmpl is broken when translation is usedClosed2012-12-06

Actions
Related to TYPO3 Core - Feature #59833: levelmedia translation fallbackClosed2014-06-24

Actions
Actions #1

Updated by Helmut Hummel over 11 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.

Actions #2

Updated by Andreas Wolf over 11 years ago

  • Category set to File Abstraction Layer (FAL)
  • Status changed from New to Accepted
  • Target version set to 6.0.1
Actions #3

Updated by Marcel Burkhalter over 11 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.

Actions #4

Updated by Devid Messner over 11 years ago

Hey,
I think i have the same problem. This patch works for me.

Actions #5

Updated by Helmut Hummel over 11 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.

Actions #6

Updated by Gerrit Code Review over 11 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

Actions #7

Updated by Gerrit Code Review over 11 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/16992

Actions #8

Updated by Gerrit Code Review over 11 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/16992

Actions #9

Updated by Gerrit Code Review over 11 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

Actions #10

Updated by Helmut Hummel over 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #11

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF