View Issue Details

IDProjectCategoryView StatusLast Update
0004368Talerobsolete componentpublic2016-04-06 14:02
ReporterFlorian Dold Assigned ToMarcello Stanisci Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
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.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Marcello Stanisci

2016-04-06 08: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 11:33

reporter   ~0010388

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

Issue History

Date ModifiedUsernameFieldChange
2016-04-05 23:40Florian DoldNew Issue
2016-04-05 23:40Florian DoldStatusnew => assigned
2016-04-05 23:40Florian DoldAssigned To => Marcello Stanisci
2016-04-05 23:44Florian DoldAdditional Information Updated
2016-04-06 07:39Christian GrothoffPriorityhigh => urgent
2016-04-06 07:39Christian GrothoffProduct Version => 0.0
2016-04-06 07:39Christian GrothoffTarget Version => 0.0
2016-04-06 08:14Marcello StanisciNote Added: 0010386
2016-04-06 11:33Marcello StanisciNote Added: 0010388
2016-04-06 11:33Marcello StanisciStatusassigned => informing
2016-04-06 11:33Marcello StanisciResolutionopen => fixed
2016-04-06 14:02Christian GrothoffStatusinforming => closed
2022-08-23 18:26Christian GrothoffCategorybank (demonstrator) => py bank (demonstrator, obsolete)
2023-12-03 00:23Christian GrothoffCategorypy bank (demonstrator, obsolete) => obsolete componet
2023-12-11 19:08Florian DoldCategoryobsolete componet => obsolete component