Bug #102858
closedTYPO3 core >=12.4.9 breaks on disabled composer-plugin typo3/class-alias-loader
100%
Description
Problem/Description¶
Following scenario:
- new TYPO3 project
- based on TYPO3 core >= v12.4.9
- without any deprecated code (yeah, it's possible)
- throws the following error which makes the instance not useable anymore:
Uncaught TYPO3 Exception Attribute class "TYPO3\CMS\Backend\Attribute\Controller" not found thrown in file /var/www/html/vendor/symfony/dependency-injection/Compiler/AttributeAutoconfigurationPass.php in line 100
It looks like this is a regression which was introduced within the backport of #102631 (Introduction of #[AsController]
attribute)
ToDo(s)¶
The TYPO3 core should/must run without the need of enabled typo3/class-alias-loader
composer-plugin.
Suggestion: re-add `TYPO3\CMS\Backend\Attribute\Controller` to have a longer transitionphase.
Furthermore, I don't know whether it would be better to see the use of the composer plugin
typo3/class-alias-loader
as mandatory in TYPO3 composer projects.
Updated by Benjamin Franzke 10 months ago
Regression introduced with
82152: [FEATURE] Introduce AsController attribute for auto configuration | https://review.typo3.org/c/Packages/TYPO3.CMS/+/82152
Updated by Benjamin Franzke 10 months ago
- Related to Feature #102631: Introduce AsController added
Updated by Gerrit Code Review 10 months ago
- Status changed from Accepted to Under Review
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82507
Updated by Gerrit Code Review 10 months ago
Patch set 2 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82507
Updated by Oliver Bartsch 10 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7a9cfb2bb96fc49ec89cb0fefb337a1819e8eba2.