Bug #63220
sur le rendu d'une cellule fiche, AttributeError: 'AnonymousUser' object has no attribute 'get_name_id'
Début:
26 mars 2022
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/54891/
user = self.get_concerned_user(context) if user: user_name_id = user.get_name_id() # <----- if user_name_id: api_url += '&filter-user-uuid=%s' % user_name_id
Fichiers
Révisions associées
Historique
Mis à jour par Lauréline Guérin il y a environ 2 ans
- Fichier 0001-wcs-fix-cell-rendering-with-anonymous-users-63220.patch 0001-wcs-fix-cell-rendering-with-anonymous-users-63220.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Frédéric Péters il y a environ 2 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Lauréline Guérin il y a environ 2 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit cf980643eb06162cbed712b02d7eede5be9c5e7c Author: Lauréline Guérin <zebuline@entrouvert.com> Date: Fri Apr 1 16:27:27 2022 +0200 wcs: fix cell rendering with anonymous users (#63220)
Mis à jour par Transition automatique il y a environ 2 ans
- Statut changé de Résolu (à déployer) à Solution déployée
wcs: fix cell rendering with anonymous users (#63220)