Bug #82954
openUnable to save data in translations of sys_file_reference records in workspace
0%
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
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!
Updated by Benni Mack over 5 years ago
- Target version changed from next-patchlevel to Candidate for patchlevel
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.
Updated by Riccardo De Contardi about 4 years ago
Updated by Benni Mack almost 3 years ago
- Related to Bug #89231: Image data attribute lost in the workspace process added
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
Updated by Georg Ringer 4 months ago
- Related to Bug #97548: In workspaces translated inline element items are shown twice added
Updated by Georg Ringer 4 months ago
should be fixed with https://review.typo3.org/c/Packages/TYPO3.CMS/+/82996 in 12,main
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?