Steps to reproduce:
1. Go to Control Panel > Configuration Admin
2. Edit the Velocity Engine configuration
3. Remove serviceLocator as restricted variable
Expected behavior: The configuration is saved and applied to the template engine.
Current behavior: The portal is no longer accesible. See error log:
Similarly, editing Freemarker engine configuration breaks the support for FTL.