Bug #54132
closedTS Template causes Ajax-Error when saving to external file via TS-Editor
0%
Description
Hi,
we have a setup, where all TS-Code is stored in external files but we are using the built-in-backend editor for editing the code ("Include Typoscript file content" is activated) . With the latest update to 6.1.6, it is no longer possible to save the code. We have re-checked the file permissions on the server, but the editor hangs on save and the file will not be updated.
Saving of TS code works again, when the "INCLUDE_TYPOSCRIPT" directives at the beginning and end of the code are removed.
Editing the files directly via external editor works too. We observed the saving operation with a javascript console and we found out, that the correspondant ajax request causes an "internal server error (500)". Exploring the server logs, we found the following entry caused by the operation:
[02-Dec-2013 12:02:19 Europe/Berlin] PHP Fatal error: Class 'TYPO3\CMS\Core\TypoScript\Parser\GeneralUtility' not found in ....../www/typo3_src/typo3_src-6.1.6/typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php on line 895
Regards
Elmar Putz
Updated by Markus Klein about 11 years ago
- Status changed from New to Accepted
- Target version set to next-patchlevel
- TYPO3 Version changed from 6.1 to 6.0
- Complexity set to no-brainer
- Is Regression changed from No to Yes
Regression in 6.0 and 6.1.
Backport of #53195 didn't properly use the namespace for GeneralUtility
Updated by Gerrit Code Review about 11 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25877
Updated by Gerrit Code Review about 11 years ago
Patch set 1 for branch TYPO3_6-0 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25878
Updated by Markus Klein about 11 years ago
- Status changed from Under Review to Closed
Duplicates #54117 and is solved there.