Bug #40157
crash "unorderable types" sur une page de catégorie
Début:
24 février 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Sur l'affichage des demandes dans une page de catégorie :
Exception: type = '<class 'TypeError'>', value = 'unorderable types: NoneType() < time.struct_time()' Stack trace (most recent call first): File "/usr/lib/python3/dist-packages/wcs/forms/root.py", line 1416, in _q_index 1414 user_forms.extend(get_user_forms(formdef)) 1415 user_forms = [x for x in user_forms if x.formdef.is_user_allowed_read(user, x)] > 1416 user_forms.sort(key=lambda x: (x.receipt_time,)) 1417 1418 if self.category:
(et pourtant il y avait eu #36515 = 929271ea94197b9c78f8379cf55681081279e4f7)
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a environ 4 ans
- Fichier 0001-misc-allow-sorting-forms-without-receipt-time-40157.patch 0001-misc-allow-sorting-forms-without-receipt-time-40157.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
C'est comme #39849 côté auquotidien, en fait.
Mis à jour par Thomas Noël il y a environ 4 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Frédéric Péters il y a environ 4 ans
- Statut changé de Solution validée à Résolu (à déployer)
Maudit copié/collé, oui c'est bien ce ticket là.
commit 4dd829ebee11130a7904dfb827897e05bcbdc72a Author: Frédéric Péters <fpeters@entrouvert.com> Date: Tue Feb 25 09:41:50 2020 +0100 misc: allow sorting forms without receipt time (#40157)
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
misc: allow sorting forms without receipt time (#40157)