Project

General

Profile

Actions

Bug #89713

closed

TCA check ignores PHP constants

Added by Franz Holzinger over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-11-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Needs Decision

Description

The TYPO3 9 module "TCA check" fails to check the TCA files in Configuration/TCA or ext_tables.php if PHP constants are used. The PHP constants have been defined in the file ext_localconf.php of the extension.

example:

(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception
PHP Warning: Use of undefined constant DIV2007_EXT - assumed 'DIV2007_EXT' (this will throw an Error in a future version of PHP) in /homepages/mypath/typo3conf/ext/div2007/ext_tables.php line 7

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #91073: Install Tool: Check TCA action does not provide symfony container when loading ext_localconf filesClosed2020-04-17

Actions
Actions

Also available in: Atom PDF