You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run functional tests for a TYPO3 extension which uses the same psr-4 autoload prefix as a library package.
What do you get instead?
Frontend subrequests fail with an error:
Error: Class "Acme\Example\ClassFromLibraryPackage" not found
How to reproduce the issue?
Steps to reproduce the behavior:
Have a TYPO3 extension package like acme/typo3-example with a psr-4 autoload prefix like Acme\\Example\\
Require a library package like acme/example in that extension with exactly the same autoload prefix Acme\\Example\\
Set up a usable TYPO3 site and use executeFrontendSubRequest() to perform a subrequest
Additional information you would like to provide?
The issue does not occur when actually installing the TYPO3 extension (which consequently pulls the library package).
For functional testing the issue can be avoided by adding another psr-4 entry to autoload-dev with Acme\\Example\\ and vendor/acme/example/src/ as path:
Uh oh!
There was an error while loading. Please reload this page.
What are you trying to achieve?
Run functional tests for a TYPO3 extension which uses the same
psr-4
autoload prefix as a library package.What do you get instead?
Frontend subrequests fail with an error:
How to reproduce the issue?
Steps to reproduce the behavior:
acme/typo3-example
with apsr-4
autoload prefix likeAcme\\Example\\
acme/example
in that extension with exactly the same autoload prefixAcme\\Example\\
executeFrontendSubRequest()
to perform a subrequestAdditional information you would like to provide?
The issue does not occur when actually installing the TYPO3 extension (which consequently pulls the library package).
For functional testing the issue can be avoided by adding another
psr-4
entry toautoload-dev
withAcme\\Example\\
andvendor/acme/example/src/
as path:Specify some data of the environment
The text was updated successfully, but these errors were encountered: