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
bug #50331 [HttpFoundation] Fix problem with empty generator in StreamedJsonResponse (alexander-schranz)
This PR was merged into the 6.3 branch.
Discussion
----------
[HttpFoundation] Fix problem with empty generator in StreamedJsonResponse
| Q | A
| ------------- | ---
| Branch? | 6.3 (Feature `StreamedJsonResponse`: #47709)
| Bug fix? | yes
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets | Fix - was reported to me on Slack by `@norkunas`
| License | MIT
| Doc PR | symfony/symfony-docs#... <!-- required for new features -->
Currently when the Generator is empty the return is invalid JSON which should not happen. So adding a testcase and a fix to the problem with the empty generator.
Commits
-------
39bb6b6 Fix problem with empty generator in StreamedJsonResponse
0 commit comments