Projet

Général

Profil

Bug #42397

KeyError: 'start_datetime'

Ajouté par Sentry Io il y a environ 4 ans. Mis à jour il y a presque 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
-
Début:
02 mai 2020
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

https://sentry.entrouvert.org/entrouvert/publik/issues/2000/

KeyError: 'start_datetime'
(9 additional frame(s) were not displayed)
...
  File "django/forms/forms.py", line 183, in is_valid
    return self.is_bound and not self.errors
  File "django/forms/forms.py", line 175, in errors
    self.full_clean()
  File "django/forms/forms.py", line 384, in full_clean
    self._clean_fields()
  File "django/forms/forms.py", line 405, in _clean_fields
    value = getattr(self, 'clean_%s' % name)()
  File "chrono/manager/forms.py", line 200, in clean_end_datetime
    if self.cleaned_data['end_datetime'] <= self.cleaned_data['start_datetime']:

Internal Server Error: /manage/agendas/26/desk/6/add-time-period-exception

Fichiers

Révisions associées

Révision cc6da3d0 (diff)
Ajouté par Lauréline Guérin il y a environ 4 ans

manager: fix exception form when start_datetime is invalid (#42397)

Historique

#1

Mis à jour par Lauréline Guérin il y a environ 4 ans

  • Projet changé de Suivi des traces à Chrono
#2

Mis à jour par Lauréline Guérin il y a environ 4 ans

  • Assigné à mis à Lauréline Guérin
#3

Mis à jour par Lauréline Guérin il y a environ 4 ans

#4

Mis à jour par Frédéric Péters il y a environ 4 ans

  • Statut changé de Solution proposée à Solution validée

(et ça me rappelle qu'on doit adopter les super() écrits ainsi dans tous les modules python3)

#5

Mis à jour par Lauréline Guérin il y a environ 4 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit cc6da3d0a8f7394f869cc0d1456ccfed1945555e
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Tue May 5 14:59:24 2020 +0200

    manager: fix exception form when start_datetime is invalid (#42397)
#6

Mis à jour par Frédéric Péters il y a presque 4 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF