Project

General

Profile

Actions

Task #91990

closed

Remove workaround for testing-framework not loading ext:fluid by default

Added by Anja Leichsenring over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2020-08-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

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.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #88689: Support for system-wide class dependency injection, PSR-11Closed2019-07-05

Actions
Related to TYPO3 Core - Bug #92083: minimum requirement for testing-framework too lowClosedAnja Leichsenring2020-08-24

Actions
Actions #1

Updated by Gerrit Code Review over 3 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

Actions #2

Updated by Anja Leichsenring over 3 years ago

  • Related to Feature #88689: Support for system-wide class dependency injection, PSR-11 added
Actions #3

Updated by Gerrit Code Review over 3 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

Actions #4

Updated by Gerrit Code Review over 3 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

Actions #5

Updated by Anja Leichsenring over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Anja Leichsenring over 3 years ago

  • Related to Bug #92083: minimum requirement for testing-framework too low added
Actions #7

Updated by Benni Mack over 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF