Details
-
Epic
-
Resolution: Done
-
Critical
-
None
-
3.0.0, 3.2.0, 3.1.2
-
[3.x] Dynamic settings injection cleanup
-
[3.2] - Sprint 7
Description
We still have in our codebase (applies to EZP, EZEE, EC) references to dynamic settings for Semantic configuration and service parameters. Since container is now frozen in Symfony 5, they're not going to work either at all or at least as expected.
Most of the work has been done when handling EZP-31220, but there are still leftovers in EC codebase and in EZP, EZEE cases we document as configurable, but don't have configured explicitly for clean setup.
The solution involves either:
- dynamic replacement on the fly in places where the setting was used
- subscribe to onScopeChange Platform Event and update properties
- in case of expressions containing multiple settings in one string, e.g. some path, use eZ\Publish\SPI\SiteAccess\ConfigProcessor to parse such string.
See ezsystems/ezplatform-kernel#108 for the example solution.[1]
[1] In the next major we need to figure out something else, because this solution is misleading, letting someone believe that dynamic settings injection is still working.