Project

General

Profile

Actions

Bug #82954

open

Unable to save data in translations of sys_file_reference records in workspace

Added by Daniel Hinderink about 7 years ago. Updated 4 months ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
Workspaces
Start date:
2017-11-08
Due date:
% Done:

0%

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

Description

Steps to reproduce
1. Create a workspace
2. Create a page with at least one content element containing a file relation sys_file_reference. Add some content to title, description, caption of this record.
3. Go to workspace create a new page translation
4. Translate page content elements
5. Go to translated content element, change meta-data of sys_file_reference entry and save record

Result:
The changes are not saved in the database.

Solution:
Add

$connectedUidsOfLocalizedOverlay = $this->getWorkspacedUids($connectedUidsOfLocalizedOverlay, $childTableName);

before line 188 in file /sysext/backend/Classes/Form/FormDataProvider/TcaInline.php

Find patch for Version 8.7.8. attached


Files

typo3-8-7-8_3.patch (1.16 KB) typo3-8-7-8_3.patch Daniel Hinderink, 2017-11-08 16:16

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #89231: Image data attribute lost in the workspace processClosed2019-09-23

Actions
Related to TYPO3 Core - Bug #77917: Can't save image metadata in a translated content element in draft workspaceClosed2016-09-12

Actions
Related to TYPO3 Core - Bug #97548: In workspaces translated inline element items are shown twiceClosed2022-05-04

Actions
Actions #1

Updated by Sybille Peters over 6 years ago

Thank you for your report.

Even though it has been some time, would you consider checking if your patch idea is still up to date and upload it to our Gerrit review server?

Someone could do this for you, but I am thinking you might like the opportunity to contribute to TYPO3 yourself.

You can find a description of the TYPO3 contribution workflow here: https://docs.typo3.org/typo3cms/ContributionWorkflowGuide/

Hint: If you get stuck anywhere, ask on Slack in the #typo3-cms-coredev channel. You can register in the TYPO3 slack workspace here: https://forger.typo3.com/slack

Thank you in advance!

Actions #2

Updated by Benni Mack over 5 years ago

  • Target version changed from next-patchlevel to Candidate for patchlevel
Actions #3

Updated by Sybille Peters over 5 years ago

Just got a confirmation via Email from someone: Problem still exists in version 9.5.8 and is fixed by using patch above by Daniel.

Actions #4

Updated by Riccardo De Contardi about 4 years ago

Are these related or even the same issue?

#89231

#77917

Actions #5

Updated by Benni Mack almost 3 years ago

  • Related to Bug #89231: Image data attribute lost in the workspace process added
Actions #6

Updated by Georg Ringer 4 months ago

  • Related to Bug #77917: Can't save image metadata in a translated content element in draft workspace added
Actions #7

Updated by Georg Ringer 4 months ago

  • Related to Bug #97548: In workspaces translated inline element items are shown twice added
Actions #8

Updated by Georg Ringer 4 months ago

Actions #9

Updated by Riccardo De Contardi 4 months ago

I performed the following tests:

Prerequisites: TYPO3 with 2 languages: ITA (default); ENG (ID=1) and a DRAFT workspace

Test 1

on LIVE workspace
1. create a page (in default language: ITALIAN)
2. create a Text and Images CE
3. upload an image, use it
4. add Alternative Text, Caption, Title ON THE Content Element
5. go to DRAFT workspace
6. create new page translation (ENGLISH)
7. translate the CE ("connected mode")
8. Edit the CE, change the Alternative Text, Caption, Title O*ON THE Content Element*
result: in workspace preview of the page I see the ENGLISH caption

Test 2

on LIVE workspace
1. Filelist module, upload an image;
2. add Title, Caption, Alt text in ITALIAN
3. go to DRAFT workspace
4. Filelist module > create translated metadata and fill in Title, Caption, Alt text in ENGLISH
5. Create a page and a Text and images CE (still in DRAFT); add the image
Result: LIVE version of the ITALIAN metadata are taken (I think this should be expected)
6. Translate the page and the CE (still in DRAFT) "Connected mode"

Result: ENGLISH version of the metadata are taken

Are there additional scenarios I did not consider?

Actions

Also available in: Atom PDF