Skip to content

Commit 7a5aaf3

Browse files
authored
[Data Objects] Fixed breaking change caused by pimcore#14454 - it introduced a requirement on the settings-store when building the PHP classes of class definitions (#19)
1 parent 0ccaab7 commit 7a5aaf3

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

bundles/CoreBundle/config/pimcore/default.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,3 +329,8 @@ pimcore:
329329

330330
gotenberg:
331331
base_url: 'http://gotenberg:3000'
332+
333+
config_location:
334+
select_options:
335+
read_target:
336+
type: 'symfony-config'

bundles/CoreBundle/src/DependencyInjection/Configuration.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,6 @@ public function getConfigTreeBuilder(): TreeBuilder
138138
'perspectives' => PIMCORE_CONFIGURATION_DIRECTORY . '/perspectives',
139139
'custom_views' => PIMCORE_CONFIGURATION_DIRECTORY . '/custom_views',
140140
'object_custom_layouts' => PIMCORE_CONFIGURATION_DIRECTORY . '/object_custom_layouts',
141-
'system_settings' => PIMCORE_CONFIGURATION_DIRECTORY . '/system_settings',
142-
'select_options' => PIMCORE_CONFIGURATION_DIRECTORY . '/select_options',
143141
]);
144142

145143
ConfigurationHelper::addConfigLocationTargetNode(
@@ -149,6 +147,13 @@ public function getConfigTreeBuilder(): TreeBuilder
149147
[LocationAwareConfigRepository::READ_TARGET]
150148
);
151149

150+
ConfigurationHelper::addConfigLocationTargetNode(
151+
$storageNode,
152+
'select_options',
153+
PIMCORE_CONFIGURATION_DIRECTORY . '/select_options',
154+
[LocationAwareConfigRepository::READ_TARGET]
155+
);
156+
152157
return $treeBuilder;
153158
}
154159

0 commit comments

Comments
 (0)