Project

General

Profile

Bug #39846

DoesNotExist: Regie matching query does not exist.

Added by sentry io 12 days ago. Updated 6 days ago.

Status:
Solution déployée
Priority:
Normal
Target version:
-
Start date:
13 Feb 2020
Due date:
% Done:

0%

Patch proposed:
Yes
Planning:
No

Description

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

DoesNotExist: Regie matching query does not exist.
(7 additional frame(s) were not displayed)
...
  File "combo/apps/lingo/views.py", line 635, in get
    return self.handle_callback(request, request.environ['QUERY_STRING'], **kwargs)
  File "combo/apps/lingo/views.py", line 627, in handle_callback
    self.handle_response(request, backend_response, **kwargs)
  File "combo/apps/lingo/views.py", line 528, in handle_response
    payment_backend = Regie.objects.get(id=kwargs['regie_pk']).payment_backend
  File "django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "django/db/models/query.py", line 380, in get
    self.model._meta.object_name

Internal Server Error: /lingo/callback/8/

0001-lingo-raise-a-404-if-regie-or-payment-backend-is-not.patch View (2.58 KB) Lauréline Guerin, 14 Feb 2020 10:22 AM

Associated revisions

Revision c78ba293 (diff)
Added by Lauréline Guérin 11 days ago

lingo: raise a 404 if regie or payment backend is not found (#39846)

History

#1 Updated by Lauréline Guerin 12 days ago

  • Project changed from Suivi des traces to Lingo

#2 Updated by Lauréline Guerin 11 days ago

  • Assignee set to Lauréline Guerin
  • Status changed from Nouveau to En cours

#3 Updated by Lauréline Guerin 11 days ago

#4 Updated by Benjamin Dauvergne 11 days ago

  • Status changed from Solution proposée to Solution validée

#5 Updated by Lauréline Guerin 11 days ago

  • Status changed from Solution validée to Résolu (à déployer)
commit c78ba2936c71aa62d5ef2739eeb67d9146ebb615
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Feb 14 10:21:33 2020 +0100

    lingo: raise a 404 if regie or payment backend is not found (#39846)

#6 Updated by Frédéric Péters 6 days ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF