Projet

Général

Profil

Bug #66319

AttributeError: 'NoneType' object has no attribute 'tzinfo'

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

Statut:
Nouveau
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
16 juin 2022
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

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

AttributeError: 'NoneType' object has no attribute 'tzinfo'
  File "passerelle/utils/jsonresponse.py", line 129, in api
    resp = f(*args, **kwargs)
  File "passerelle/views.py", line 556, in perform
    result = self.endpoint(request, **params)
  File "passerelle/apps/atal/models.py", line 341, in new_comments
    if dateobj and issup(dateobj, last_datetime) or last_datetime is None:
  File "passerelle/apps/atal/models.py", line 309, in issup
    if datetime1.tzinfo is None or datetime2.tzinfo is None:

Error occurred while processing request

Historique

#1

Mis à jour par Lauréline Guérin il y a presque 2 ans

  • Projet changé de Suivi des traces à Passerelle

Formats disponibles : Atom PDF