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: FusionExceptionView must use mocked controller context #4569

Conversation

mhsdesign
Copy link
Member

0f24c72 (#4425) introduced a regression where we accidentally used $this->controllerContext instead of $controllerContext.

For $some reason we have to use the mocked controller context, as otherwise the ${request.format} will be empty "" in fusion. And this causes trouble in the /root matcher.

This fix uses the mocked controller context again.

Upgrade instructions

Review instructions

Checklist

  • Code follows the PSR-2 coding style
  • Tests have been created, run and adjusted as needed
  • The PR is created against the lowest maintained branch
  • Reviewer - PR Title is brief but complete and starts with FEATURE|TASK|BUGFIX
  • Reviewer - The first section explains the change briefly for change-logs
  • Reviewer - Breaking Changes are marked with !!! and have upgrade-instructions

0f24c72 (#4425) introduced a regression where we accidentally used `$this->controllerContext` instead of `$controllerContext`.

For $some reason we have to use the mocked controller context, as otherwise the `${request.format}` will be empty "" in fusion. And this causes trouble in the `/root` matcher.

This fix uses the mocked controller context again.
Copy link
Member

@ahaeslich ahaeslich left a comment

Choose a reason for hiding this comment

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

👀

@mhsdesign mhsdesign merged commit 4de3469 into 9.0 Sep 29, 2023
5 checks passed
@mhsdesign mhsdesign deleted the bugfix/fusionExceptionViewUsesWrongRequestWithoutControllerContext branch September 29, 2023 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants