From 7556b17247bfe151993eca155edee93b01ae804b Mon Sep 17 00:00:00 2001 From: Paul Verdu Date: Mon, 28 Oct 2024 10:13:51 +0100 Subject: [PATCH 1/2] Fix issue where Import- and ExportDefinition data is not correctly loaded from repository cache --- src/DataDefinitionsBundle/Model/ExportDefinition/Dao.php | 2 +- src/DataDefinitionsBundle/Model/ImportDefinition/Dao.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DataDefinitionsBundle/Model/ExportDefinition/Dao.php b/src/DataDefinitionsBundle/Model/ExportDefinition/Dao.php index 0039b1a5..aca75524 100644 --- a/src/DataDefinitionsBundle/Model/ExportDefinition/Dao.php +++ b/src/DataDefinitionsBundle/Model/ExportDefinition/Dao.php @@ -39,7 +39,7 @@ public function configure(): void parent::configure([ 'containerConfig' => $definitions, - 'settingsStoreScope' => 'data_definitions', + 'settingsStoreScope' => 'data_definitions' . self::CONFIG_KEY, 'storageConfig' => $storageConfig, ]); } diff --git a/src/DataDefinitionsBundle/Model/ImportDefinition/Dao.php b/src/DataDefinitionsBundle/Model/ImportDefinition/Dao.php index b37a03ae..8ac49b5a 100644 --- a/src/DataDefinitionsBundle/Model/ImportDefinition/Dao.php +++ b/src/DataDefinitionsBundle/Model/ImportDefinition/Dao.php @@ -42,7 +42,7 @@ public function configure(): void parent::configure([ 'containerConfig' => $definitions, - 'settingsStoreScope' => 'data_definitions', + 'settingsStoreScope' => 'data_definitions' . self::CONFIG_KEY, 'storageConfig' => $storageConfig, ]); } From 36290c408c91e52b8a83828006197375b05fa745 Mon Sep 17 00:00:00 2001 From: Paul Verdu Date: Mon, 28 Oct 2024 10:29:00 +0100 Subject: [PATCH 2/2] Add missing dot in settingStoreScope name --- src/DataDefinitionsBundle/Model/ExportDefinition/Dao.php | 2 +- src/DataDefinitionsBundle/Model/ImportDefinition/Dao.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DataDefinitionsBundle/Model/ExportDefinition/Dao.php b/src/DataDefinitionsBundle/Model/ExportDefinition/Dao.php index aca75524..5fd148b8 100644 --- a/src/DataDefinitionsBundle/Model/ExportDefinition/Dao.php +++ b/src/DataDefinitionsBundle/Model/ExportDefinition/Dao.php @@ -39,7 +39,7 @@ public function configure(): void parent::configure([ 'containerConfig' => $definitions, - 'settingsStoreScope' => 'data_definitions' . self::CONFIG_KEY, + 'settingsStoreScope' => 'data_definitions.' . self::CONFIG_KEY, 'storageConfig' => $storageConfig, ]); } diff --git a/src/DataDefinitionsBundle/Model/ImportDefinition/Dao.php b/src/DataDefinitionsBundle/Model/ImportDefinition/Dao.php index 8ac49b5a..12fc212b 100644 --- a/src/DataDefinitionsBundle/Model/ImportDefinition/Dao.php +++ b/src/DataDefinitionsBundle/Model/ImportDefinition/Dao.php @@ -42,7 +42,7 @@ public function configure(): void parent::configure([ 'containerConfig' => $definitions, - 'settingsStoreScope' => 'data_definitions' . self::CONFIG_KEY, + 'settingsStoreScope' => 'data_definitions.' . self::CONFIG_KEY, 'storageConfig' => $storageConfig, ]); }