Skip to content

Commit

Permalink
[Data Objects] Fixed breaking change caused by pimcore#14454 - it int…
Browse files Browse the repository at this point in the history
…roduced a requirement on the settings-store when building the PHP classes of class definitions (#19)
  • Loading branch information
brusch authored Dec 7, 2023
1 parent 0ccaab7 commit 7a5aaf3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions bundles/CoreBundle/config/pimcore/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -329,3 +329,8 @@ pimcore:

gotenberg:
base_url: 'http://gotenberg:3000'

config_location:
select_options:
read_target:
type: 'symfony-config'
9 changes: 7 additions & 2 deletions bundles/CoreBundle/src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@ public function getConfigTreeBuilder(): TreeBuilder
'perspectives' => PIMCORE_CONFIGURATION_DIRECTORY . '/perspectives',
'custom_views' => PIMCORE_CONFIGURATION_DIRECTORY . '/custom_views',
'object_custom_layouts' => PIMCORE_CONFIGURATION_DIRECTORY . '/object_custom_layouts',
'system_settings' => PIMCORE_CONFIGURATION_DIRECTORY . '/system_settings',
'select_options' => PIMCORE_CONFIGURATION_DIRECTORY . '/select_options',
]);

ConfigurationHelper::addConfigLocationTargetNode(
Expand All @@ -149,6 +147,13 @@ public function getConfigTreeBuilder(): TreeBuilder
[LocationAwareConfigRepository::READ_TARGET]
);

ConfigurationHelper::addConfigLocationTargetNode(
$storageNode,
'select_options',
PIMCORE_CONFIGURATION_DIRECTORY . '/select_options',
[LocationAwareConfigRepository::READ_TARGET]
);

return $treeBuilder;
}

Expand Down

0 comments on commit 7a5aaf3

Please sign in to comment.