Project

General

Profile

Development #31690

crash sur annulation sso

Added by Frédéric Péters 11 months ago. Updated 11 months ago.

Status:
Solution déployée
Priority:
Normal
Target version:
-
Start date:
25 Mar 2019
Due date:
% Done:

0%

Patch proposed:
Yes
Planning:
No

Description

Traceback:

File "/usr/lib/python2.7/dist-packages/django/core/handlers/exception.py" in inner
  41.             response = get_response(request)

File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in _legacy_get_response
  249.             response = self._get_response(request)

File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in _get_response
  187.                 response = self.process_exception_by_middleware(e, request)

File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in _get_response
  185.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/usr/lib/python2.7/dist-packages/django/views/decorators/csrf.py" in wrapped_view
  58.         return view_func(*args, **kwargs)

File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in view
  68.             return self.dispatch(request, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in dispatch
  88.         return handler(request, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/mellon/views.py" in get
  368.             return self.continue_sso_artifact(request, lasso.HTTP_METHOD_ARTIFACT_GET)

File "/usr/lib/python2.7/dist-packages/mellon/views.py" in continue_sso_artifact
  348.         return self.sso_failure(request, login, reason=idp_message, status_codes=status_codes)

Exception Type: TypeError at /accounts/mellon/login/
Exception Value: sso_failure() got multiple values for keyword argument 'reason'

0001-update-sso_failure-call-to-new-method-signature-3169.patch View (1010 Bytes) Frédéric Péters, 25 Mar 2019 02:03 PM

0001-tests-test-failed-request-path-with-artifact-31690.patch View (3.43 KB) Benjamin Dauvergne, 25 Mar 2019 03:32 PM


Related issues

Related to django-mellon - Bug #14810: comportement sur un artifactresponse vide Solution déployée 30 Jan 2017

Associated revisions

Revision 99a60c1d (diff)
Added by Frédéric Péters 11 months ago

update sso_failure call to new method signature (#31690)

Revision b640f5b3 (diff)
Added by Benjamin Dauvergne 11 months ago

tests: test failed request path with artifact (#31690)

History

#1 Updated by Frédéric Péters 11 months ago

  • Related to Bug #14810: comportement sur un artifactresponse vide added

#2 Updated by Frédéric Péters 11 months ago

  • Project changed from Authentic 2 to django-mellon

#3 Updated by Frédéric Péters 11 months ago

#4 Updated by Benjamin Dauvergne 11 months ago

  • Assignee set to Frédéric Péters
  • Status changed from Solution proposée to Solution validée

Ack.

#5 Updated by Frédéric Péters 11 months ago

  • Status changed from Solution validée to Résolu (à déployer)
commit 99a60c1d8886e0e972c7716aa5649e5b6294606b
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Mon Mar 25 14:03:04 2019 +0100

    update sso_failure call to new method signature (#31690)

#6 Updated by Benjamin Dauvergne 11 months ago

  • Assignee changed from Frédéric Péters to Benjamin Dauvergne

#7 Updated by Benjamin Dauvergne 11 months ago

J'en ai profité pour ajouter un test sur ce parcours.

#8 Updated by Christophe Siraut 11 months ago

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

#9 Updated by Benjamin Dauvergne 11 months ago

  • Status changed from Solution validée to Résolu (à déployer)
commit b640f5b33438c444e76dda9433397e1b3c5587f7
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Mon Mar 25 15:12:50 2019 +0100

    tests: test failed request path with artifact (#31690)

#10 Updated by Frédéric Péters 11 months ago

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

Also available in: Atom PDF