From 10f8d54f462f611124d9b31beeccdfbcd534ab01 Mon Sep 17 00:00:00 2001 From: ralf Date: Tue, 25 Jul 2023 11:37:37 +0200 Subject: [PATCH] for api.queue close session to NOT block other requests (api.queue should NOT be used for changing something in session) --- api/src/Json/Request.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/src/Json/Request.php b/api/src/Json/Request.php index f8225c16b4..381df57924 100644 --- a/api/src/Json/Request.php +++ b/api/src/Json/Request.php @@ -88,6 +88,8 @@ class Request // do we have a single request or an array of queued requests if ($menuaction == 'api.queue') { + // close session to NOT block other requests (api.queue should NOT be used for changing something in session) + $GLOBALS['egw']->session->commit_session(); $responses = array(); $response = Response::get(); foreach($parameters[0] as $uid => $data)