Project

General

Profile

Bug #22888

appel incorrect à make_url()

Added by Frédéric Péters over 1 year ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normal
Assignee:
-
Target version:
Start date:
29 Mar 2018
Due date:
% Done:

100%

Patch proposed:
Yes
Planning:
No

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'

0001-utils-fix-make_url-use-by-list_to_pick-view-fixes-22.patch View (4.07 KB) Benjamin Dauvergne, 29 Mar 2018 05:01 PM

Associated revisions

Revision 9a824087 (diff)
Added by Benjamin Dauvergne over 1 year ago

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() :/

History

#1 Updated by Benjamin Dauvergne over 1 year ago

#2 Updated by Thomas Noël over 1 year ago

Ack

#3 Updated by Benjamin Dauvergne over 1 year ago

  • Status changed from Nouveau to Résolu (à déployer)
  • % Done changed from 0 to 100

#4 Updated by Benjamin Dauvergne over 1 year ago

  • Target version set to 0.25

#5 Updated by Frédéric Péters over 1 year ago

  • Status changed from Résolu (à déployer) to Fermé

Also available in: Atom PDF