This plugin allows users to create location inputs and store latitude and longitude values as geometry types in a PostGIS database. It also provides functionality to filter items based on their location.
MIT License
24
stars
13
forks
source link
Cannot edit location field when embedded in a Component #13
When a component embeds a plugin::location-plugin.location field, its value cannot be set.
This is the logged error :
error:
UPDATE components_address_adresses
SET geopoint_geom = ST_SetSRID(ST_MakePoint(-0.5870622786552258, 44.78683011143263), 4326)
WHERE id = 1;
- column "geopoint_geom" of relation "components_address_adresses" does not exist
Steps to reproduce the behavior
In the content type builder, create a component (named address)
Add a custom location field in the component
In the content type builder, create a new collection type (named user-profile)
Add an address component field to user-profile
In the content editor, create a new user-profile, and fill its address field.
Hit save button
Expected behavior
The user profile is created.
Actual behavior
Save fails with the following error
error:
UPDATE components_address_adresses
SET geopoint_geom = ST_SetSRID(ST_MakePoint(-0.5870622786552258, 44.78683011143263), 4326)
WHERE id = 1;
- column "geopoint_geom" of relation "components_address_adresses" does not exist
Bug report
Describe the bug
When a component embeds a
plugin::location-plugin.location
field, its value cannot be set.This is the logged error :
Steps to reproduce the behavior
address
)location
field in the componentuser-profile
)address
component field touser-profile
user-profile
, and fill itsaddress
field.Expected behavior
The
user profile
is created.Actual behavior
Save fails with the following error