`2019-07-24 10:19:51 10.0.2.2 error 2019-07-24 10:19:51 10.0.2.2 [403] Erreur dans la requête (ERREUR: syntaxe en entrée invalide pour l'entier : « »
LINE 3: ...T "id" FROM "public"."layer_simple" WHERE True AND "id" = ''
^(
WITH source AS (
SELECT "id" FROM "public"."layer_simple" WHERE True AND "id" = ''
)
--SELECT row_to_json(fc, True) AS geojson
--FROM (
-- SELECT
-- 'FeatureCollection' As type,
-- array_to_json(array_agg(f)) As features
SELECT row_to_json(f, True) AS geojson
FROM (
SELECT
'Feature' AS type,
Concat(
'layer_simple',
'.',
"id") AS id,
Null As geometry,
row_to_json(
( SELECT l FROM
(
SELECT "id"
) As l
)
) As properties
FROM source As lg
) As f
--) As fc)) /lizmap_web_client/lib/jelix/plugins/db/pgsql/pgsql.dbconnection.php 174
/index.php/lizmap/edition/editFeature?project=test-issues-scratch-2-18&repository=test218&layerId=layer_simple20190614085002252&status=0
Steps to reproduce the issue
Screenshots and logs
`2019-07-24 10:19:51 10.0.2.2 error 2019-07-24 10:19:51 10.0.2.2 [403] Erreur dans la requête (ERREUR: syntaxe en entrée invalide pour l'entier : « » LINE 3: ...T "id" FROM "public"."layer_simple" WHERE True AND "id" = '' ^( WITH source AS ( SELECT "id" FROM "public"."layer_simple" WHERE True AND "id" = '' ) --SELECT row_to_json(fc, True) AS geojson --FROM ( -- SELECT -- 'FeatureCollection' As type, -- array_to_json(array_agg(f)) As features SELECT row_to_json(f, True) AS geojson FROM ( SELECT 'Feature' AS type, Concat( 'layer_simple', '.', "id") AS id, Null As geometry,
array ( 'project' => 'test-issues-scratch-2-18', 'repository' => 'test218', 'layerId' => 'layer_simple20190614085002252', 'status' => '0', 'module' => 'lizmap', 'action' => 'edition:editFeature', )
`
Environment