View Issue Details

IDProjectCategoryView StatusLast Update
0005561Talerobsolete componentpublic2019-12-20 18:12
ReporterMarcello Stanisci 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
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.6Fixed in Version0.6 
Summary0005561: Return 400 (bad json) if wrong currency is specified.
DescriptionIf the call to /admin/add/incoming carries a valid JSON with just a unsupported currency, then the bank returns 400 status code as if the JSON was malformed/wrong. This is not descriptive of the situation, and so a dedicated status code should be picked up. If such a status code won't be found, then at least a new *Taler* error code should be defined and embedded in the response body.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Marcello Stanisci

2019-02-13 14:51

reporter   ~0013702

fixed in 6789efe..a3edc34. Wrong currency operations in /admin/add/incoming now trigger a 406 Not Acceptable response code.

Issue History

Date ModifiedUsernameFieldChange
2019-02-12 15:18Marcello StanisciNew Issue
2019-02-12 15:18Marcello StanisciStatusnew => assigned
2019-02-12 15:18Marcello StanisciAssigned To => Marcello Stanisci
2019-02-13 14:51Marcello StanisciStatusassigned => informing
2019-02-13 14:51Marcello StanisciResolutionopen => fixed
2019-02-13 14:51Marcello StanisciNote Added: 0013702
2019-02-17 21:25Christian GrothoffProduct Version => git (master)
2019-02-17 21:25Christian GrothoffFixed in Version => 0.6
2019-02-17 21:25Christian GrothoffTarget Version => 0.6
2019-12-20 18:12Christian 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