Project

General

Profile

Bug #92152

qrcode, save-reader, crash sur appel sans "campaign" (KeyError: 'campaign')

Added by Sentry Io 26 days ago. Updated 19 days ago.

Status:
Solution déployée
Priority:
Normal
Target version:
-
Start date:
21 June 2024
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

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

KeyError: 'campaign'
  File "passerelle/utils/jsonresponse.py", line 134, in api
    resp = f(*args, **kwargs)
  File "passerelle/views.py", line 561, in perform
    result = self.endpoint(request, **params)
  File "passerelle/apps/qrcode/models.py", line 327, in save_reader
    campaign = get_object_or_404(self.campaigns, uuid=post_data['campaign'])

Error occurred while processing request

Related issues

Related to Passerelle - Bug #92839: qrcode: save_certificate error (KeyError: 'campaign')Résolu (à déployer)08 July 2024

Actions

Associated revisions

Revision f524271e (diff)
Added by Corentin Séchet 19 days ago

qrcode: handle missing campaign when creating reader (#92152)

History

#1

Updated by Frédéric Péters 26 days ago

  • Project changed from Suivi des traces to Passerelle
#2

Updated by Corentin Séchet 26 days ago

  • Assignee set to Corentin Séchet
#3

Updated by Robot Gitea 23 days ago

  • Status changed from Nouveau to Solution proposée

Corentin Sechet (csechet) a ouvert une pull request sur Gitea concernant cette demande :

#4

Updated by Robot Gitea 20 days ago

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

Nicolas Roche (nroche) a approuvé une pull request sur Gitea concernant cette demande :

#5

Updated by Robot Gitea 19 days ago

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

Corentin Sechet (csechet) a mergé une pull request sur Gitea concernant cette demande :

#6

Updated by Transition automatique 19 days ago

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

Updated by Frédéric Péters 9 days ago

  • Related to Bug #92839: qrcode: save_certificate error (KeyError: 'campaign') added

Also available in: Atom PDF