Projet

Général

Profil

Bug #11392

NameError: global name 'item' is not defined

Ajouté par Frédéric Péters il y a presque 8 ans. Mis à jour il y a plus de 7 ans.

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

0%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

NameError: global name 'item' is not defined
...
  File "django/views/generic/base.py", line 87, in dispatch
    return handler(request, *args, **kwargs)
  File "combo/apps/lingo/views.py", line 333, in post
    return self.handle_callback(request, request.body, **kwargs)
  File "combo/apps/lingo/views.py", line 318, in handle_callback
    item.notify_payment()
  File "combo/apps/lingo/models.py", line 232, in notify_payment
    self.notify('paid')
  File "combo/apps/lingo/models.py", line 224, in notify
    transaction = item.transaction_set.filter(status=eopayment.PAID)[0]

Fichiers

Révisions associées

Révision 8029e573 (diff)
Ajouté par Frédéric Péters il y a presque 8 ans

lingo: fix notification of paid item (#11392)

Historique

#1

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

#2

Mis à jour par Benjamin Dauvergne il y a presque 8 ans

Ack.

#3

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

  • Statut changé de En cours à Résolu (à déployer)
commit 8029e573249550c858b0d5114622f830c7b1ff39
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Thu Jun 16 13:27:03 2016 +0200

    lingo: fix notification of paid item (#11392)
#4

Mis à jour par Frédéric Péters il y a plus de 7 ans

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF