Bug #7749
GlobalCache with vary by hostname does not work when called from a command
Début:
03 juillet 2015
Echéance:
% réalisé:
100%
Temps estimé:
Patch proposed:
Non
Planning:
Description
In a context where a request is not available and the cache vary by hostname (multitenant context) we should not try to cache the result, as it will not work. We let the multitenant framework handle it.
Révisions associées
Historique
Mis à jour par Benjamin Dauvergne il y a presque 9 ans
- Statut changé de Nouveau à Résolu (à déployer)
- % réalisé changé de 0 à 100
Appliqué par commit authentic2|a9233953ceacbd0adedfebbd95263a94030ea9ae.
Mis à jour par Benjamin Dauvergne il y a environ 8 ans
- Statut changé de Résolu (à déployer) à Solution déployée
Mis à jour par Benjamin Dauvergne il y a plus de 6 ans
- Statut changé de Solution déployée à Fermé
decorators: when a cache must vary by hostname and hostname is unavailable we don't use it (fixes #7749)
In a context where a request is not available and the cache vary by
hostname (multitenant context) we should not try to cache the result, as
it will not work. We let the multitenant framework handle it.