- Issue created by @andres.torres
- Status changed to Postponed: needs info
2 months ago 7:49am 15 September 2024 - 🇩🇪Germany christianadamski Berlin, Germany
Works fine in v3 and v4 here. Any idea what's wrong?
Getting the following error:
InvalidArgumentException: Invalid values given. Values must be represented as an associative array. in Drupal\Core\TypedData\Plugin\DataType\Map->setValue() (line 80 of core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php).
- Create a new content type for any photo/image file.
- Enable Geolocation 8.x.3.13
- Use Leaflet/OpenStreetMaps as provider.
- On the content type Display view modes, Enable Full Content.
- Under the Geolocation field, select Display Formatter Map
- Fill in as the Marker Title and Market fields tokens values i.e [node:title] - [geolocation_current_item:lat], [geolocation_current_item:lng]
- Save changes.
- Go to the node page. The error triggers.
- Deleting the tokens from the Marker fields allows the node to be displayed.
Testing on a fresh Drupal 10.2.7 + Geolocation 8.x.1.3 (installed via Composer). See screenshots for more reference.
Postponed: needs info
3.13
Leaflet API
Works fine in v3 and v4 here. Any idea what's wrong?