Project

General

Profile

Actions

Bug #76046

closed

After 7.6.6 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes fails

Added by Claus Harup over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2016-05-04
Due date:
% Done:

0%

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

Description

Having works like a charm (7.6.5):

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('pages','tx_xxxxxxx', '', 'after:doktype');

....but upgrading to 7.6.6 tx_xxxxxxx is not inserted after doctype :-(

I little investegation points me to a little change in TYPO3\CMS\Core\Utility\ExtensionManagementUtility.php:

In 7.6.6 it is:

$pattern = ('/(^|,\\s*)(' . preg_quote($positionName, '/') . ')(;[^,$]+)?(,|$)/');

In 7.6.5 it is:

$pattern = ('/(^|,\\s*)(' . $positionName . ')(;[^,$]+)?(,|$)/');

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #75946: ExtensionManagementUtility won't insert fields in the right position if the position parameter is setClosed2016-04-27

Actions
Actions #1

Updated by Markus Klein over 8 years ago

  • Status changed from New to Closed
  • Target version deleted (next-patchlevel)

Duplicate

Actions

Also available in: Atom PDF