Details
-
Bug
-
Resolution: Fixed
-
High
-
5.2-rc1, 5.3
Description
If you try to use
{{ ez_render_field( content, 'location', { 'param' : { 'mapType' : 'SATELLITE', 'width' : '500px' , 'height' : '200px' } } ) }}
on a gmaplocation_filed you'll get the following twig exception
Key "width" for array with keys "" does not exist in EzPublishCoreBundle::content_fields.html.twig at line 306 500 Internal Server Error - Twig_Error_Runtime
After investigating a bit more I found out that the problem is that the array parameters is empty