Problem/Motivation
The Drupal\Tests\media\Kernel\OEmbedIframeControllerTest fails, because in the method Drupal\media\Controller\OEmbedIframeController::render() the second parameter of the method Symfony\Component\HttpFoundation\ParameterBag::getInt() is set to NULL and the second parameter need to be an integer and 0 is its default value.
Proposed resolution
The problem can be fixed by not setting the second parameter. The default value of 0 is fine.
Remaining tasks
TBD
User interface changes
None
API changes
None
Data model changes
None
Release notes snippet
TBD
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3248014-2.patch | 849 bytes | daffie |
Comments
Comment #2
daffie commentedThe fix.
Comment #3
andypostYes, that's enough https://github.com/symfony/symfony/blob/5.4/src/Symfony/Component/HttpFo...
Comment #5
catchCommitted/pushed to 9.4.x and cherry-picked to 9.3.x, thanks!