From 2774cbef4f0cbd1f42319c7023626294f7dd4a63 Mon Sep 17 00:00:00 2001 From: Paul Verdu Date: Mon, 2 Oct 2023 15:24:52 +0200 Subject: [PATCH] Fix problem where persister is not saved or retrieved from config file --- src/DataDefinitionsBundle/Model/ImportDefinition/Dao.php | 1 + .../Resources/config/serializer/Model.ImportDefinition.yml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/DataDefinitionsBundle/Model/ImportDefinition/Dao.php b/src/DataDefinitionsBundle/Model/ImportDefinition/Dao.php index 6755c430..15bdcfa9 100644 --- a/src/DataDefinitionsBundle/Model/ImportDefinition/Dao.php +++ b/src/DataDefinitionsBundle/Model/ImportDefinition/Dao.php @@ -152,6 +152,7 @@ public function save() 'forceLoadObject', 'loader', 'fetcher', + 'persister', ]; foreach ($dataRaw as $key => $value) { diff --git a/src/DataDefinitionsBundle/Resources/config/serializer/Model.ImportDefinition.yml b/src/DataDefinitionsBundle/Resources/config/serializer/Model.ImportDefinition.yml index be7b7b33..f2426729 100755 --- a/src/DataDefinitionsBundle/Resources/config/serializer/Model.ImportDefinition.yml +++ b/src/DataDefinitionsBundle/Resources/config/serializer/Model.ImportDefinition.yml @@ -50,3 +50,7 @@ Wvision\Bundle\DataDefinitionsBundle\Model\ImportDefinition: expose: true type: boolean groups: [Detailed] + persister: + expose: true + type: string + groups: [Detailed]