8000 Fix TargetGroupSubscriber throw error on BinaryFileResponse by alexander-schranz · Pull Request #6848 · sulu/sulu · GitHub
[go: up one dir, main page]

Skip to content

Fix TargetGroupSubscriber throw error on BinaryFileResponse #6848

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

Conversation

alexander-schranz
Copy link
Member
@alexander-schranz alexander-schranz commented Oct 10, 2022
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no yes
Fixed tickets fixes #
Related issues/PRs symfony/symfony#47516, symfony/symfony#47746
License MIT
Documentation PR sulu/sulu-docs#

What's in this PR?

Fix TargetGroupSubscriber throw error on BinaryFileResponse.

Why?

Currently an error is now thrown as the response is set to text/html this is happening because of a change in Symfony itself here: symfony/symfony#47516, bug is fixed in symfony/symfony#47746. But the subscriber should not be listening to this kind of BinaryFileResponses.

@alexander-schranz alexander-schranz changed the base branch from 2.5 to 2.4 October 10, 2022 09:40
@alexander-schranz alexander-schranz force-pushed the bugfix/fix-html-listener-for-target-group branch from 51adc94 to 8a95730 Compare October 10, 2022 09:40
@alexander-schranz alexander-schranz added the Bug Error or unexpected behavior of already existing functionality label Oct 10, 2022
@niklasnatter niklasnatter merged commit 053ac95 into sulu:2.4 Oct 10, 2022
@alexander-schranz alexander-schranz deleted the bugfix/fix-html-listener-for-target-group branch October 10, 2022 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Error or unexpected behavior of already existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0