Bug #63353
closedMedia Relation from translated page properties in a workspace
100%
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
Updated by Gerrit Code Review almost 10 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
Updated by Gerrit Code Review about 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
Updated by Andreas Wolf about 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).
Updated by Oliver Hader almost 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Gerrit Code Review almost 9 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
Updated by Oliver Hader almost 9 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
Updated by Gerrit Code Review almost 9 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
Updated by Gerrit Code Review almost 9 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
Updated by Gerrit Code Review almost 9 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
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review almost 6 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
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review almost 5 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
Updated by Gerrit Code Review almost 5 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
Updated by Gerrit Code Review almost 5 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
Updated by Gerrit Code Review over 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
Updated by Christian Kuhn almost 4 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)
Updated by Christian Kuhn almost 4 years ago
- Status changed from Under Review to Needs Feedback
Updated by Gerrit Code Review about 3 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
Updated by Gerrit Code Review about 3 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
Updated by Gerrit Code Review almost 3 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
Updated by Gerrit Code Review almost 3 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
Updated by Oliver Hader almost 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b3ee53cd9e280e5fee64951e3efa85fb6300ea2d.
Updated by Benni Mack almost 2 years ago
- Status changed from Resolved to Closed