Open subnoodle opened 1 year ago
Hi Benjamin & others, I found out something important: I'm using SVG only as card item images. That means, the imageinfo-viewhelper of the package would not be able to gain image meta data, like resolution. That could be related to the bug.
This is reproducable:
Thank you! Thomas
Again... it probalby points to: EXT:bootstrap_package/Resources/Private/Templates/ContentElements/CardGroup.html:7..8 more line 8, i guess. I assume {imageConfig.multipier} is empty here.
HI, to fix this bug the imageConfig you have to change the line from this
Dear @bureauoberhoff , i checked it and it's anyways already in one line. Thank you for that hint. Greets, Th.
Bug Report
Prerequisites
Description
The card group item is responsible in that case for the exception. I disabled all elements and reenabled them one-by-one on the page where it occurs. It's only on that one. Maybe as well on other bootstrap-content-elements not used there.
Steps to Reproduce
Expected behavior
No exception. Fluid parameter should be passed as string instead of array (array of bootstrap-package breakpoints - in any partial) or object should have a toString method. Sadly, i was not able to determine in switch fuild partial / template it occured. I hope, the screenshot may help you (didn't for me).
Actual behavior
Exception pops up, since fluid viewhelper cannot parse an argument passed falsly as array instead of string.
Screenshots
Versions
Typo3 11.5.32 Bootstrap-Package 14.0.7
Thank you! Hopfully you can find something here.