From 361b877976d5a2d2aedcc5777bf50e9d6619a809 Mon Sep 17 00:00:00 2001 From: jhaller <jan.haller@math.uzh.ch> Date: Thu, 28 Dec 2023 10:29:10 +0100 Subject: [PATCH] Refs #17255 - If the record has been modified in the meantime, an alert will still be shown but the error will not be logged. --- extension/Classes/Core/Form/Dirty.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/Classes/Core/Form/Dirty.php b/extension/Classes/Core/Form/Dirty.php index 261476060..59143fd78 100644 --- a/extension/Classes/Core/Form/Dirty.php +++ b/extension/Classes/Core/Form/Dirty.php @@ -425,7 +425,7 @@ class Dirty { // Check if the record has changed in the meantime. if ($flagCheckModifiedFirst && $this->isRecordModified($tableName, $primaryKey, $recordId, $this->client[DIRTY_RECORD_HASH_MD5], $dummy)) { - throw new \UserFormException ('The record has been modified in the meantime. Please reload the form, edit and save again. [3]', ERROR_DIRTY_RECORD_MODIFIED); + throw new \InfoException('The record has been modified in the meantime. Please reload the form, edit and save again. [3]', ERROR_DIRTY_RECORD_MODIFIED); } $lockStatus = $this->getCheckDirty($tableName, $recordId, $rcRecordDirty, $rcMsg); -- GitLab