Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BeforeSystemConfigChangedEvent - Changed values ignored #3101

Closed
AndreasA opened this issue Jun 7, 2023 · 1 comment
Closed

BeforeSystemConfigChangedEvent - Changed values ignored #3101

AndreasA opened this issue Jun 7, 2023 · 1 comment
Labels

Comments

@AndreasA
Copy link
Contributor

AndreasA commented Jun 7, 2023

PHP Version

8.1

Shopware Version

6.5

Expected behaviour

The value of the BeforeSystemConfigChangedEvent should be used to update the system configuration.

The event was added to modify the value BEFORE it is written. However, due to the changes in 6.5 this doesn't work anymore.

Actual behaviour

$value is used for sytem config update and for all other events.

How to reproduce

Use systemconfigservice with set/setMultiple and a BeforeSystemConfigChangedEvent subscriber that is supposed to change the value of the event.

@AndreasA AndreasA added the Bug label Jun 7, 2023
shopwareBot pushed a commit that referenced this issue Jun 15, 2023
NEXT-28427 - Fix for Issue #3101: Use value of BeforeSystemConfigChangedEvent in the SystemConfigService

See merge request shopware/6/product/platform!10908
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant