Bug #54117

Typoscript Editor broken after update to 6.1.6

Added by André Spindler over 7 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
TypoScript
Target version:
Start date:
2013-12-01
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.4
Tags:
Complexity:
no-brainer
Is Regression:
Yes
Sprint Focus:

Description

Some days ago I updated my installations from 6.1.5 to 6.1.6.

Now I discovered I get php errors in at least two installations:
- Module web_template => Info/Edit => (Edit)Setup
- Extension t3editor not installed
- Typoscript is stored in files, included

When saving, changes, I get following error:
Fatal error: Class 'TYPO3\CMS\Core\TypoScript\Parser\GeneralUtility' not found in xxxxx/typo3_src-6.1.6/typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php on line 895

Before update there was no error.

Setup of both installations:
TYPO3: 6.1.6
PHP: 5.4.19/fastCGI
OS: CentOS 6.4


Related issues

Related to TYPO3 Core - Bug #53195: T3editor: Honour fileDenyPattern on saving included TSClosed2013-10-29

Actions
Has duplicate TYPO3 Core - Bug #54132: TS Template causes Ajax-Error when saving to external file via TS-EditorClosedElmar Putz2013-12-02

Actions
#1

Updated by Georg Ringer over 7 years ago

  • Complexity set to no-brainer
  • Is Regression changed from No to Yes

problem is there cause of

if (!GeneralUtility::verifyFilenameAgainstDenyPattern($realFileName)) {

but must be \TYPO3\CMS\Core\Utility\GeneralUtility

commit https://review.typo3.org/#/c/25057/

#2

Updated by Gerrit Code Review over 7 years ago

  • Status changed from New 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/25829

#3

Updated by Gerrit Code Review over 7 years ago

Patch set 2 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/25829

#4

Updated by Gerrit Code Review over 7 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/25834

#5

Updated by André Spindler over 7 years ago

Thank you for quick fix.

Patch works for 6.1, other versions not tested.

#6

Updated by Stefan Neufeind over 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#7

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF