diff --git a/lizmap/modules/lizmap/controllers/edition.classic.php b/lizmap/modules/lizmap/controllers/edition.classic.php index f2cd64aa3d..5b4f02c681 100644 --- a/lizmap/modules/lizmap/controllers/edition.classic.php +++ b/lizmap/modules/lizmap/controllers/edition.classic.php @@ -767,6 +767,11 @@ public function saveFeature() // Some errors where encountered if (!$check || !$pkvals) { // Redirect to the display action + jLog::log( + 'Error in project '.$this->repository->getKey().'/'.$this->project->getKey().', '. + 'layer '.$this->layerId.' while saving the feature '.$this->featureIdParam, + 'lizmapadmin' + ); $rep->params['status'] = '1'; $rep->action = 'lizmap~edition:editFeature';