Bug #100766
closedinstall 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 over 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 over 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 over 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 over 1 year ago
- Related to Task #92948: Add constant TYPO3 added
Updated by Simon Gilli over 1 year ago
- Related to Task #92947: Phase out TYPO3_MODE and friends added
Updated by Simon Gilli over 1 year ago
- Related to Epic #96107: Core v12 deprecation removals added
Updated by Benni Mack over 1 year ago
- Target version changed from 12 LTS to Candidate for patchlevel
Updated by Riccardo De Contardi 6 months ago
- Status changed from New to Rejected
- Target version deleted (
Candidate for patchlevel)
Sorry but I have to close this issue as rejected.
As Christian wrote, the removal of TYPO3_MODE followed the deprecation cycle so non-compliant extensions must break and be fixed by the authors.
Updated by Riccardo De Contardi 6 months ago
- Status changed from Rejected to Closed