View Issue Details

IDProjectCategoryView StatusLast Update
0004368Talerobsolete componentpublic2016-04-06 16:02
ReporterFlorian Dold Assigned ToMarcello Stanisci  
PriorityurgentSeverityblockReproducibilityalways
Status closedResolutionfixed 
Product Version0.0 
Target Version0.0 
Summary0004368: MultiValueDictKeyError at /auth/pin/question
DescriptionWhen withdrawing from the bank, the bank now gives this error after clicking the confirm button in the wallet.

Note that this only happens with the git wallet, as older wallets implement an outdated protocol.
Additional InformationRequest Method: GET
Request URL: https://bank.test.taler.net/auth/pin/question?wire_details=%7B%22test%22%3A%7B%22type%22%3A%22test%22%2C%22account_number%22%3A1%2C%22bank_uri%22%3A%22http%3A%2F%2Fbank.test.taler.net%2F%22%7D%7D&exchange=https%3A%2F%2Fexchange.test.taler.net%2F&reserve_pub=2AMBVA1P9HP1HDMCASDF78YAZ0JN9CSHN7F5A9QVHXPZEYBQF410&amount_value=1&amount_fraction=0&amount_currency=PUDOS

Django Version: 1.9.2
Python Version: 3.4.4
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'bank_app']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware']



Traceback:

File "/home/test/bank-venv/lib/python3.4/site-packages/django/utils/datastructures.py" in __getitem__
  83. list_ = super(MultiValueDict, self).__getitem__(key)

During handling of the above exception ('type'), another exception occurred:

File "/home/test/bank-venv/lib/python3.4/site-packages/django/core/handlers/base.py" in get_response
  149. response = self.process_exception_by_middleware(e, request)

File "/home/test/bank-venv/lib/python3.4/site-packages/django/core/handlers/base.py" in get_response
  147. response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "./bank_app/lib.py" in check_login
  150. return fn(request)

File "./bank_app/captcha.py" in pin_tan_question
  93. return pin_tan_question_attempt(request)

File "./bank_app/lib.py" in check_login
  150. return fn(request)

File "./bank_app/captcha.py" in pin_tan_question_attempt
  78. if request.GET["type"] != "TEST":

File "/home/test/bank-venv/lib/python3.4/site-packages/django/utils/datastructures.py" in __getitem__
  85. raise MultiValueDictKeyError(repr(key))

Exception Type: MultiValueDictKeyError at /auth/pin/question
Exception Value: "'type'"
TagsNo tags attached.

Activities

Marcello Stanisci

2016-04-06 10:14

reporter   ~0010386

this bug is fixed in b36d680..30a3cbf, but I'll leave it open since the new protocol needs still some work in order to be implemented

Marcello Stanisci

2016-04-06 13:33

reporter   ~0010388

fixed in 39ce96d..954d818 (still not tested by wallet)

Issue History

Date Modified Username Field Change
2016-04-06 01:40 Florian Dold New Issue
2016-04-06 01:40 Florian Dold Status new => assigned
2016-04-06 01:40 Florian Dold Assigned To => Marcello Stanisci
2016-04-06 01:44 Florian Dold Additional Information Updated
2016-04-06 09:39 Christian Grothoff Priority high => urgent
2016-04-06 09:39 Christian Grothoff Product Version => 0.0
2016-04-06 09:39 Christian Grothoff Target Version => 0.0
2016-04-06 10:14 Marcello Stanisci Note Added: 0010386
2016-04-06 13:33 Marcello Stanisci Note Added: 0010388
2016-04-06 13:33 Marcello Stanisci Status assigned => resolved
2016-04-06 13:33 Marcello Stanisci Resolution open => fixed
2016-04-06 16:02 Christian Grothoff Status resolved => closed
2022-08-23 20:26 Christian Grothoff Category bank (demonstrator) => py bank (demonstrator, obsolete)
2023-12-03 01:23 Christian Grothoff Category py bank (demonstrator, obsolete) => obsolete componet
2023-12-11 20:08 Florian Dold Category obsolete componet => obsolete component