Projet

Général

Profil

Bug #22888

appel incorrect à make_url()

Ajouté par Frédéric Péters il y a environ 6 ans. Mis à jour il y a presque 6 ans.

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

100%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

Internal Server Error: /2/pick/
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/dist-packages/django/contrib/auth/decorators.py", line 22, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/fargo/fargo/views.py", line 100, in dispatch
    return super(PickView, self).dispatch(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 89, in dispatch
    return handler(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/fargo/fargo/views.py", line 159, in post
    return HttpResponseRedirect(make_url(self.pick_url, url=download_url))
TypeError: make_url() got multiple values for keyword argument 'url'

Fichiers

Révisions associées

Révision 9a824087 (diff)
Ajouté par Benjamin Dauvergne il y a environ 6 ans

utils: fix make_url() use by list_to_pick view (fixes #22888)

Return callback to pick view takes an url argument, same name as the
first argument to make_url() :/

Historique

#2

Mis à jour par Thomas Noël il y a environ 6 ans

Ack

#3

Mis à jour par Benjamin Dauvergne il y a environ 6 ans

  • Statut changé de Nouveau à Résolu (à déployer)
  • % réalisé changé de 0 à 100
#4

Mis à jour par Benjamin Dauvergne il y a environ 6 ans

  • Version cible mis à 0.25
#5

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

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

Formats disponibles : Atom PDF