You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use the BucsItTimeline plugin to show a timeline of order events at the order detail page. We'd like to show this timeline at the bottom of the page. The BucsItTimeline plugin contains configuration options to set the position of the timeline card.
The override is included in the result of AbstractSystemConfigLoader->load(), but this method is not considered for SystemConfigService->getDomain() which is used by Shopware route /api/_action/system-config in SystemConfigController::getConfigurationValues()
The result for the system-config array includes the default value:
Well, for this plugin it is just a displaying problem. We could override the templates to show the timeline card at the correct position, but we'd rather not override these plugin admin Twig files.
I'm not aware of any other issues, since we don't override that many configuration values. However, all settings retrieved by Admin API method systemConfigApiService.getValues() do only return the configuration from the database and are not overridden by FroshTools ConfigSystemConfigLoader.
This uses \Shopware\Core\System\SystemConfig\SystemConfigService::getDomain. It looks like this can be fixed by subscribing onto SystemConfigDomainLoadedEvent and manipulating the config.
PHP Version
8.2.7
Shopware Version
v6.5.3.3
Actual behaviour
We use the BucsItTimeline plugin to show a timeline of order events at the order detail page. We'd like to show this timeline at the bottom of the page. The BucsItTimeline plugin contains configuration options to set the position of the timeline card.
We set this config in
frosh_tools.yaml
The override is included in the result of
AbstractSystemConfigLoader->load()
, but this method is not considered forSystemConfigService->getDomain()
which is used by Shopware route/api/_action/system-config
inSystemConfigController::getConfigurationValues()
The result for the system-config array includes the default value:
Expected behaviour
The result for the system-config API response should include the overridden value for
BucsItTimeline.config.orderPosition
:Steps to Reproduce?
config/packages/frosh_tools.yaml
:The text was updated successfully, but these errors were encountered: