IBX-11610: Images with width="" or height="" in xml definition will cause crash - #745
Conversation
|
6063be2 to
8a0098d
Compare
alongosz
left a comment
There was a problem hiding this comment.
Please add some unit test coverage so this case doesn't go unnoticed again during the next PHP/Symfony upgrade ;)
@alongosz , @konradoboza : tests are now provided |
|
f292ccc to
329efb6
Compare
|
katarzynazawada
left a comment
There was a problem hiding this comment.
QA Approved on v5.0.9 based on steps from comment from Apr 07, 2026 12:17 on https://support.ibexa.co/tickets/view/ISD-26496



Description:
In 5.0, strict typing was added to width and height in ImageVariation.php. (It was not added to Image\Value.php though)
I am not able to reproduce this on a fresh 5.0 database, but if you have upgraded from older version, you might have width and/or height set to empty value
””, ie:If you then try to load this image in admin-ui, it wlll crash due do violation of strict typing:
For QA:
See my comment from Apr 07, 2026 12:17 on https://support.ibexa.co/tickets/view/ISD-26496
Documentation: