View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005561 | Taler | py bank (demonstrator, obsolete) | public | 2019-02-12 16:18 | 2019-12-20 19:12 |
Reporter | Marcello Stanisci | Assigned To | Marcello Stanisci | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | git (master) | ||||
Target Version | 0.6 | Fixed in Version | 0.6 | ||
Summary | 0005561: Return 400 (bad json) if wrong currency is specified. | ||||
Description | If 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. | ||||
Tags | No tags attached. | ||||
|
fixed in 6789efe..a3edc34. Wrong currency operations in /admin/add/incoming now trigger a 406 Not Acceptable response code. |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-02-12 16:18 | Marcello Stanisci | New Issue | |
2019-02-12 16:18 | Marcello Stanisci | Status | new => assigned |
2019-02-12 16:18 | Marcello Stanisci | Assigned To | => Marcello Stanisci |
2019-02-13 15:51 | Marcello Stanisci | Status | assigned => resolved |
2019-02-13 15:51 | Marcello Stanisci | Resolution | open => fixed |
2019-02-13 15:51 | Marcello Stanisci | Note Added: 0013702 | |
2019-02-17 22:25 | Christian Grothoff | Product Version | => git (master) |
2019-02-17 22:25 | Christian Grothoff | Fixed in Version | => 0.6 |
2019-02-17 22:25 | Christian Grothoff | Target Version | => 0.6 |
2019-12-20 19:12 | Christian Grothoff | Status | resolved => closed |
2022-08-23 20:26 | Christian Grothoff | Category | bank (demonstrator) => py bank (demonstrator, obsolete) |