- Merge request !63#3554566: Infinite recursion when autoloading is enabled → (Open) created by scott_euser
When autoloading is enabled (disable_auto_loading: false in site_settings.config), and with the metatag module enabled, rebuilding caches leads to infinite recursion on every page load.
site_settings_preprocess() triggers FlattenedSiteSettingsLoader::rebuildCache()
FlattenedSiteSettingsLoader::getValue() triggers MetatagEntityFieldItemList::computeValue(), which down the line triggers MetatagToken::replace(), which down the line triggers site_settings_tokens(), which down the line triggers site_settings_token_info(), which down the line triggers FlattenedSiteSettingsLoader::loadAll(), which triggers FlattenedSiteSettingsLoader::rebuildCache() again.
I proposed 📌 Remove the canonical route of the site setting entity type Active , but that creates other problems, such as breaking translations.
Active
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.