-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add TYPO3v10 support #13
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mbrodala
force-pushed
the
typo3v10
branch
15 times, most recently
from
September 17, 2020 07:38
569f74d
to
490ff68
Compare
mbrodala
force-pushed
the
typo3v10
branch
2 times, most recently
from
September 17, 2020 10:16
a06d274
to
7f38c04
Compare
The ObjectManager requires native dependency injection now so make sure we always use a mock in tests.
This is essential for the checks in SystemEnvironmentBuilder::initializeEnvironment() where TYPO3_PATH_ROOT and TYPO3_PATH_APP must be properly related to each other. These are defined in AbstractTestSystem::setTypo3Context() and involve some processing. With this the config/var path is always the same both for the test itself as well as the website accessed by the temporary webserver.
This adds a handler for "/-/searchable/urls" urls which expects a list of Typolink configurations and returns resolved links.
For some reason the log file handle is missing sometimes leading to failing fwrite() calls in FileWriter. Thus drop this completely for now.
Only in TYPO3v10+ dependency injection takes care of passing the required constructor argument.
Unfortunately SiteConfiguration::createBasicSite() was added with TYPO3v10 so we need to stick to the basic variant of the testing framework instead.
Since we are actually building URIs and not links here, there is no point in passing around an unused title here.
For TYPO3v8 and within an eID search we must make sure to use the default language if nothing can be determined otherwise.
This controller is explicitly kept around for TYPO3v8 support.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.