Bug #100766
openinstall tool is derailed by old extensions using defined('TYPO3_MODE') || die();
0%
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.
Updated by David Bruchmann about 1 year ago
- Subject changed from install tool is derailed by "TYPO3_MODE" to install tool is derailed by old extensions
- Description updated (diff)
Updated by Georg Ringer about 1 year ago
- Subject changed from install tool is derailed by old extensions to install tool is derailed by old extensions using defined('TYPO3_MODE') || die();
Updated by Christian Kuhn about 1 year ago
the install tool does not load ext_* files from "casual" extensions, so most things of the install tool do work, including the ext scanner?!
Apart from that: we can't upgrade "wizard" this since we don't rewrite code.
Introducing that constant in any way again simply does not help us: The constant was marked deprecated, the substitution exists for two or three majors, iirc.
Extensions that did not adapt need to fail at some point. If we introduce TYPO3_MODE again for the install tool in v12, people will still not update and the issue is still shifted once again in some way for another version.
So imho: No core adaptions, but finally fix extensions!
Updated by Simon Gilli about 1 year ago
- Related to Task #92948: Add constant TYPO3 added
Updated by Simon Gilli about 1 year ago
- Related to Task #92947: Phase out TYPO3_MODE and friends added
Updated by Simon Gilli about 1 year ago
- Related to Epic #96107: Core v12 deprecation removals added
Updated by Benni Mack 11 months ago
- Target version changed from 12 LTS to Candidate for patchlevel