Bug #40045
unorderable types: NoneType() < float() sur lookup_user
Début:
20 février 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Exception: type = '<class 'TypeError'>', value = 'unorderable types: NoneType() < float()' Stack trace (most recent call first): File "/usr/lib/python3/dist-packages/wcs/qommon/saml2.py", line 514, in lookup_user 512 while True: 513 users = sorted(user_class.get_users_with_name_identifier(ni), > 514 key=lambda u: (u.last_seen, -int(u.id))) 515 if users: 516 # if multiple users, use the more recently used or the younger
Fichiers
Révisions associées
saml2: fix user lookup when there's no connexion time (#40045)
Historique
Mis à jour par Frédéric Péters il y a environ 4 ans
- Fichier 0001-saml2-fix-user-lookup-when-there-s-no-connexion-time.patch 0001-saml2-fix-user-lookup-when-there-s-no-connexion-time.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Thomas Noël il y a environ 4 ans
- Statut changé de Solution proposée à Résolu (à déployer)
commit 5b3b715bc9ff95745639a7ae7e74c2b2b5f3efa1 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Thu Feb 20 08:51:05 2020 +0100 saml2: fix user lookup when there's no connexion time (#40045)
Mis à jour par Frédéric Péters il y a environ 4 ans
- Statut changé de Résolu (à déployer) à Solution déployée
saml2: fix user lookup when there's no connexion time (#40045)