Task #91990
closedRemove workaround for testing-framework not loading ext:fluid by default
100%
Description
With #88689 a dependency from sysext:backend to sysext:fluid became obvious, what led to errors in functional testing. The testing-framework loads sysext:backend by default, but not sysext:fluid. Up to this introduction of underlaying infrastructure (namely Dependency Injection) this did no harm, as testing classes can define their dependencies on demand.
To avoid further errors during testing, a workaround was introduced that disabled autowiring for the TemplateView class, the one which carries the dependency to sysext:fluid.
When testing-framework loads sysext:fluid by default for functional tests, the workaround can be removed from sysext:backend. Therefor it will be possible again to autowire the TemplateView class as would be expected.
Updated by Gerrit Code Review over 4 years ago
- Status changed from New to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65290
Updated by Anja Leichsenring over 4 years ago
- Related to Feature #88689: Support for system-wide class dependency injection, PSR-11 added
Updated by Gerrit Code Review about 4 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65290
Updated by Gerrit Code Review about 4 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65290
Updated by Anja Leichsenring about 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 90ffdccbb18d1294f1434c32c0d4b66db974d557.
Updated by Anja Leichsenring about 4 years ago
- Related to Bug #92083: minimum requirement for testing-framework too low added