Skip to content
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

[BUGFIX] Provide proper Uri Builder Request in VH #3852

Merged

Conversation

DanielSiepmann
Copy link
Contributor

@DanielSiepmann DanielSiepmann commented Oct 30, 2023

Checking RenderingContext is not enough as it might provide either a ServerRequest or Extbase Request.
We use the RequestBuilder to ensure there is a proper Extbase Request.

A none Extbase Request might exist in case of usage within StandaloneView or other contexts without providing an Extbase Request.

Fixes: #3851

What this pr does

Ensure that an Extbase request is provided.

How to test

I don't have an easy step by step way … Maybe test that this won't break anything instead?

@dkd-kaehm
Copy link
Collaborator

@DanielSiepmann
Integration tests are broken. Please check them.

Checking RenderingContext is not enough as it might provide either a
ServerRequest or Extbase Request.
We use the RequestBuilder to ensure there is a proper Extbase Request.

A none Extbase Request might exist in case of usage within
StandaloneView or other contexts without providing an Extbase Request.

Fixes: #3851
Copy link
Collaborator

@dkd-kaehm dkd-kaehm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing that issue.
👍

@dkd-kaehm dkd-kaehm merged commit 4303220 into TYPO3-Solr:main Oct 31, 2023
8 checks passed
@DanielSiepmann DanielSiepmann deleted the 3851-proper-uri-builder-request branch November 16, 2023 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants