Project

General

Profile

Actions

Bug #63353

closed

Media Relation from translated page properties in a workspace

Added by Jonas Enders over 9 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Workspaces
Target version:
Start date:
2014-11-26
Due date:
% Done:

100%

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

Description

Hi,

I have encountered a problem when reading images from the translated page properties in a workspace.

How to reproduce:

  • Output the image anywhere in your template:
lib.heroimg = IMAGE
lib.heroimg {
  file {
    import = uploads/media/
    import.data = levelmedia:-1, slide
    treatIdAsReference = 1
    import.listNum = 0
  }
}
  • Add an image in the page properties of the translation. Take a look at the frontend, the image will be shown.
  • Switch to a workspace.
  • Delete the newly created relation and add a new one.

No image will be shown. Neither in Workspace nor live mode.

I will try my best to find the problem and a solution, but I would be happy if someone could help.

Thank you and best regards

Jonas


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #64339: multilangual site and image from resourcesClosed2015-01-18

Actions
Related to TYPO3 Core - Bug #60754: No fileusage (sys_file_reference) found for given UID.ClosedBenni Mack2014-08-03

Actions
Related to TYPO3 Core - Bug #65863: content_fallback / mergeIfNotblank fails with content slide, pageOverlayFields is ignoredClosedJo Hasenau2015-03-20

Actions
Actions #1

Updated by Gerrit Code Review over 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/34974

Actions #2

Updated by Mathias Schreiber about 9 years ago

  • Target version set to 7.5
Actions #3

Updated by Gerrit Code Review almost 9 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/34974

Actions #4

Updated by Andreas Wolf almost 9 years ago

Could not reproduce this on current master (a18b518). Workspace preview links are currently broken, that might be part of the problem – but for live, the new image is still shown.

I also discovered an additional problem: on a translated subpage without any resources, only the original language image will be shown (instead of the translation on the original page).

Actions #5

Updated by Oliver Hader over 8 years ago

  • Target version changed from 7.5 to 7 LTS
Actions #6

Updated by Gerrit Code Review over 8 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/34974

Actions #7

Updated by Oliver Hader over 8 years ago

Can you please describe in the commit message what this change is all about and why the change für media relations is required in the RootlineUtility? Thx

Actions #8

Updated by Gerrit Code Review over 8 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/34974

Actions #9

Updated by Gerrit Code Review over 8 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/34974

Actions #10

Updated by Gerrit Code Review over 8 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/34974

Actions #11

Updated by Gerrit Code Review about 6 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/34974

Actions #12

Updated by Gerrit Code Review over 5 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/34974

Actions #13

Updated by Gerrit Code Review about 5 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/34974

Actions #14

Updated by Gerrit Code Review over 4 years ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/34974

Actions #15

Updated by Gerrit Code Review over 4 years ago

Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/34974

Actions #16

Updated by Gerrit Code Review over 4 years ago

Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/34974

Actions #17

Updated by Gerrit Code Review about 4 years ago

Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/34974

Actions #18

Updated by Christian Kuhn over 3 years ago

I tried to reproduce the issue, but I'm unable to create a problem:

  • Have a page with default language and an additional language.
  • Add two images to the 'media' field of the page translation.
  • Go to workspace, delete one image, add another one.
  • Have a FE TS like:
page = PAGE
page.10 = TEXT
page.10.value = HELLO WORLD!

page.20 = FILES
page.20 {
  references {
    table = pages
    uid.data = tsfe:id
    fieldName = media
  }
  begin = 0
  maxItems = 5
  renderObj = IMAGE
  renderObj {
    file.width = 100
    file.import.dataWrap = {file:current:storage}:{file:current:identifier}
    altText.data = file:current:title
    wrap = <div>|</div>
  }
}

-> The images are correctly shown in workspace preview (current v11 master)

Actions #19

Updated by Christian Kuhn over 3 years ago

  • Status changed from Under Review to Needs Feedback
Actions #20

Updated by Gerrit Code Review over 2 years ago

  • Status changed from Needs Feedback to Under Review

Patch set 14 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/34974

Actions #21

Updated by Gerrit Code Review over 2 years ago

Patch set 15 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/34974

Actions #22

Updated by Gerrit Code Review over 2 years ago

Patch set 16 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/34974

Actions #23

Updated by Gerrit Code Review over 2 years ago

Patch set 17 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/34974

Actions #24

Updated by Oliver Hader over 2 years ago

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

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF