Projet

Général

Profil

Bug #7420

crash /__skeleton__/ sans source

Ajouté par Thomas Noël il y a presque 9 ans. Mis à jour il y a plus de 8 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
29 mai 2015
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

C'est arrivé parce que j'ai bêtement tapé l'URL à la main sans ?source=

Internal Server Error: /__skeleton__/
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_
response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/dist-packages/combo/public/views.py", line 106, in skeleton
    source = request.GET['source']
  File "/usr/lib/python2.7/dist-packages/django/utils/datastructures.py", line 319, in __
getitem__
    raise MultiValueDictKeyError(repr(key))
MultiValueDictKeyError: "'source'" 

Fichiers

Révisions associées

Révision 49e3ee9b (diff)
Ajouté par Thomas Noël il y a presque 9 ans

skeleton: don't crash if no source (#7420)

Historique

#1

Mis à jour par Thomas Noël il y a presque 9 ans

#2

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

ouaip.

#4

Mis à jour par Thomas Noël il y a presque 9 ans

  • Statut changé de En cours à Résolu (à déployer)
commit 49e3ee9b410c8a1320e7daa0719ae76968853f41
Author: Thomas NOEL <tnoel@entrouvert.com>
Date:   Fri May 29 14:38:32 2015 +0200

    skeleton: don't crash if no source (#7420)

#5

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

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

Formats disponibles : Atom PDF