Closed (fixed)
Project:
Leaflet
Version:
10.2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 May 2024 at 09:57 UTC
Updated:
28 May 2024 at 21:09 UTC
Jump to comment: Most recent
If use Field (html DivIcon) option in the Map Icon and provide a token value, for example, an image field from the node
When the image field is empty map will render the text of the provided token, for example: ([node:field_image:entity:thumbnail])
This is wrong behavior, because if the token is empty marker html markup needs to be used
This bug exists only on the node view form, for views it works well
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
rollins commentedJust provided MR that will fix this bug
Comment #4
nginex commentedComment #5
nginex commentedIt works like a charm
Comment #6
itamair commentedThanks for this ... but I also want to properly QA and Review this.
Not clear to me if this fix is needed only in the Leaflet Formatter,
or something needs to be adjusted / fixed in the Leaflet View Style too
(usually they pair each other ... ).
Comment #8
itamair commentedThanks again ... merging this.