|
|
@@ -603,6 +603,11 @@ class SiteController extends ActionController
|
|
|
throw new \RuntimeException('Something went wrong while committing the result');
|
|
|
}
|
|
|
|
|
|
+ // Clear the whole cache, to avoid errors with the configuration files cache
|
|
|
+ // >> this could probably be improved by targeting the caches to clean
|
|
|
+ // more precisely, but that'll do for the moment
|
|
|
+ OtCacheManager::clearCache(false);
|
|
|
+
|
|
|
} catch(\Throwable $e) {
|
|
|
// rollback
|
|
|
$this->connectionPool->getConnectionByName('Default')->rollback();
|