Bug #40925
closedLocalization of FAL file relations in filelinks CE throws Exception
0%
Description
Tested on a 6.0-dev installation based on an almost current master from Git, with some added cherry-picked FAL changes on top (that are in review right now and will hopefully be merged soon).
- Create a content element of type filelinks in default language
- add 1+ files as FAL file relations and save
- localize that whole content element (Frontend now shows the content in both languages)
- edit the localized record and click the "localize" button (see arrow in screenshot)
As soon as this button is clicked once, TYPO3 throws the following Exception when rendering this page in the localized language in the Frontend.
Hiding the whole translated CE again solves the problem with the Exception, but doesn't allow us to localize the file relations.
PHP Fatal error: Uncaught exception 'InvalidArgumentException' with message 'No file found for given UID.' in /path/to/typo3/sysext/core/Classes/Resource/ResourceFactory.php:258 Stack trace: #0 /path/to/typo3/sysext/core/Classes/Resource/FileReference.php(102): TYPO3\\CMS\\Core\\Resource\\ResourceFactory->getFileObject('0') #1 [internal function]: TYPO3\\CMS\\Core\\Resource\\FileReference->__construct(Array) #2 /path/to/typo3/sysext/core/Classes/Utility/GeneralUtility.php(4151): ReflectionClass->newInstanceArgs(Array) #3 /path/to/typo3/sysext/core/Classes/Resource/ResourceFactory.php(461): TYPO3\\CMS\\Core\\Utility\\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\...', Array)
Files
Updated by Mario Rimann about 12 years ago
Updated by Oliver Hader about 12 years ago
- Category set to File Abstraction Layer (FAL)
- Status changed from New to Accepted
- Target version set to 6.0.0
- Complexity set to hard
Updated by Steffen Ritter about 12 years ago
- Status changed from Accepted to On Hold
new translation handling is to be implemented
Updated by Marcel Burkhalter about 12 years ago
We tried to make an overview of all current FAL translation problems (see PDF). We tested with the following master using a non-admin BE user:
commit b8a7c9f942f5e8403f910857f81aed4f5e268ae1
[BUGFIX] Use UTF-8 by default in Flexforms and Backend
and cherry-picked the following patchsets:
- [BUGFIX] Many severe bugs in ProcessedFile implementation / https://review.typo3.org/#/c/14310/
git fetch git://git.typo3.org/TYPO3v4/Core refs/changes/10/14310/5 && git cherry-pick FETCH_HEAD
- [BUGFIX] Backend can't deal with fal references in translated records / https://review.typo3.org/#/c/14336/
git fetch git://git.typo3.org/TYPO3v4/Core refs/changes/36/14336/5 && git cherry-pick FETCH_HEAD
- [BUGFIX] ContentAdapter for FAL not capable of translations / https://review.typo3.org/#/c/14337/
git fetch git://git.typo3.org/TYPO3v4/Core refs/changes/37/14337/9 && git cherry-pick FETCH_HEAD
- [BUGFIX] Editors do not have rights to edit file metadata / https://review.typo3.org/#/c/13658/
git fetch git://git.typo3.org/TYPO3v4/Core refs/changes/58/13658/3 && git cherry-pick FETCH_HEAD
- [BUGFIX] Rootline must not include references to deleted records / https://review.typo3.org/#/c/14302/
git fetch git://git.typo3.org/TYPO3v4/Core refs/changes/02/14302/1 && git cherry-pick FETCH_HEAD
- [BUGFIX] Faulty localization if IRRE is used on pages / https://review.typo3.org/#/c/15523/
git fetch git://git.typo3.org/TYPO3v4/Core refs/changes/23/15523/1 && git cherry-pick FETCH_HEAD
Updated by Helmut Hummel almost 12 years ago
- Status changed from On Hold to Needs Feedback
Still an issue?
Updated by Marcel Burkhalter almost 12 years ago
We tested all issues described in the PDF document --> all fixed with the current origin/TYPO3_6-0 branch.
Updated by Alexander Opitz over 11 years ago
- Status changed from Needs Feedback to Closed