Bug #46788
crash sur validation partiellement configurée
Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
18 septembre 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Mise à Condition (django) et puis pas complétée, ça fait boum ainsi :
Exception: type = '<class 'KeyError'>', value = ''value'' Stack trace (most recent call first): File "/usr/lib/python3/dist-packages/wcs/qommon/form.py", line 1055, in django_validation 1053 if validation['type'] == 'django': 1054 def django_validation(value): > 1055 condition = ValidationCondition(validation['value'], value=value) 1056 return condition.evaluate() 1057 return django_validation locals: validation = {'type': 'django'} value = 'plop'
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a plus de 3 ans
- Fichier 0001-misc-ignore-incomplete-configuration-of-django-field.patch 0001-misc-ignore-incomplete-configuration-of-django-field.patch ajouté
- Description mis à jour (diff)
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Lauréline Guérin il y a plus de 3 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Frédéric Péters il y a plus de 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit f1a893d798be5a3bded715eda83059e2c2064aa8 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Fri Sep 18 15:44:59 2020 +0200 misc: ignore incomplete configuration of django field validation (#46788)
Mis à jour par Frédéric Péters il y a plus de 3 ans
- Statut changé de Résolu (à déployer) à Solution déployée
misc: ignore incomplete configuration of django field validation (#46788)