Project

General

Profile

Actions

Bug #100766

open

install tool is derailed by old extensions using defined('TYPO3_MODE') || die();

Added by David Bruchmann about 1 year ago. Updated 12 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Install Tool
Start date:
2023-04-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

While it's know that TYPO3_MODE isn't used anymore in v12, it's quite common that updating extensions might be still required.
Old extensions have checks included like this:

defined('TYPO3_MODE') || die();

This is stopping TYPO3 v12 completely and never shows any hint what could be wrong. The install tool shouldn't be derailed by the missing of this constant, but scanning for it and reporting the need for removal or replacement.
Currently TYPO3 v12 is completely unusable if an extension is still having this check included.

Therefore I plead to include a definition for it at least in the install tool, so that an upgrade wizard could inform about required changes.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Task #92948: Add constant TYPO3Closed2020-11-28

Actions
Related to TYPO3 Core - Task #92947: Phase out TYPO3_MODE and friendsClosed2020-11-28

Actions
Related to TYPO3 Core - Epic #96107: Core v12 deprecation removalsClosed2021-11-21

Actions
Actions

Also available in: Atom PDF