Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #25489 [FrameworkBundle] remove esi/ssi renderers if inactive (dm…
…aicher) This PR was merged into the 2.7 branch. Discussion ---------- [FrameworkBundle] remove esi/ssi renderers if inactive | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? |no | Tests pass? | yes | Fixed tickets | #25246 | License | MIT | Doc PR | - As found out within #25246 the esi/ssi fragment renderer services were registered for < 3.4 even when the framework config for it was disabled. On 3.4+ this has been fixed already and the service definitions are removed. With this fix the usual exception message appears when `framework.esi` or `framework.ssi` are disabled and using `render_esi(...)` or `render_ssi(...)`: ``` An exception has been thrown during the rendering of a template ("The "esi" renderer does not exist."). ``` **Note: Some people may see this exception when updating to this patch but this just means they are using esi/ssi without enabling it.** Commits ------- e1c3652 [FrameworkBundle] remove esi/ssi renderers if inactive
- Loading branch information