From 2e8c34737e9a4bb12f9100163e912d077a0eae74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Sch=C3=BCle?= Date: Mon, 24 Feb 2025 16:39:21 +0100 Subject: [PATCH 1/2] fix(Tinebase/Import): fix plugin config of some definitions ... use Tinebase_Import_Csv_Generic for generic csv imports --- .../Import/definitions/tinebase_import_bankaccount_csv.xml | 1 + .../Import/definitions/tinebase_import_costcenter_csv.xml | 2 +- .../Import/definitions/tinebase_import_costunit_csv.xml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tine20/Tinebase/Import/definitions/tinebase_import_bankaccount_csv.xml b/tine20/Tinebase/Import/definitions/tinebase_import_bankaccount_csv.xml index 3a97775c2fc..aabab4a64f8 100644 --- a/tine20/Tinebase/Import/definitions/tinebase_import_bankaccount_csv.xml +++ b/tine20/Tinebase/Import/definitions/tinebase_import_bankaccount_csv.xml @@ -2,6 +2,7 @@ tinebase_import_bankaccount_csv Tinebase_Model_BankAccount + Tinebase_Import_Csv_Generic import 1 0 diff --git a/tine20/Tinebase/Import/definitions/tinebase_import_costcenter_csv.xml b/tine20/Tinebase/Import/definitions/tinebase_import_costcenter_csv.xml index debaadb0a22..c0ee4121f8f 100644 --- a/tine20/Tinebase/Import/definitions/tinebase_import_costcenter_csv.xml +++ b/tine20/Tinebase/Import/definitions/tinebase_import_costcenter_csv.xml @@ -2,7 +2,7 @@ tinebase_import_costcenter_csv Tinebase_Model_CostCenter - Tinebase_Import_CostCenter_Csv + Tinebase_Import_Csv_Generic import 1 0 diff --git a/tine20/Tinebase/Import/definitions/tinebase_import_costunit_csv.xml b/tine20/Tinebase/Import/definitions/tinebase_import_costunit_csv.xml index 46a4f2b1f71..6a74a5c2969 100644 --- a/tine20/Tinebase/Import/definitions/tinebase_import_costunit_csv.xml +++ b/tine20/Tinebase/Import/definitions/tinebase_import_costunit_csv.xml @@ -2,7 +2,7 @@ tinebase_import_costunit_csv Tinebase_Model_CostUnit - Tinebase_Import_CostUnit_Csv + Tinebase_Import_Csv_Generic import 1 0 From 20928a39cb4dbdc58ba277efe8af5596b74150d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Sch=C3=BCle?= Date: Mon, 24 Feb 2025 16:55:25 +0100 Subject: [PATCH 2/2] docs(Tinebase/Cli): add link to docs for monitoringCheckQueue --- tine20/Tinebase/Frontend/Cli.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tine20/Tinebase/Frontend/Cli.php b/tine20/Tinebase/Frontend/Cli.php index 827646bda84..debcae0774b 100644 --- a/tine20/Tinebase/Frontend/Cli.php +++ b/tine20/Tinebase/Frontend/Cli.php @@ -1325,6 +1325,7 @@ public function monitoringCheckQueue() . ';lastDurationUpdate=' . ($now - $lastDurationUpdate) . ';'; } catch (Exception $e) { $message = 'QUEUE FAIL: ' . get_class($e) . ' - ' . $e->getMessage(); + $message .= ' - https://tine-docu.s3web.rz1.metaways.net/operators/howto/tine20AdminQueue/'; $result = 2; }