View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008474 | Taler | merchant backoffice SPA | public | 2024-02-21 19:23 | 2024-03-07 20:47 |
Reporter | Florian Dold | Assigned To | Christian Grothoff | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Target Version | 0.9.4 | Fixed in Version | 0.9.4 | ||
Summary | 0008474: bad error message when creating order in default instance when no wire account is configured | ||||
Description | Might have something to do with the redirection to normalize default instance URLs, but Christian is pretty sure he fixed the redirection to include query params. | ||||
Tags | No tags attached. | ||||
|
this is the request the browser is doing $ curl 'http://merchant.taler.test:1180/private/orders' \ -H 'Accept: */*' \ -H 'Accept-Language: en-US,en;q=0.9,es-AR;q=0.8,es;q=0.7' \ -H 'Authorization: Bearer secret-token:FB717SM5ADVCMFNAFDVGCBMS5EAE9VZ38S0VKE4WY084R6GXXZ40' \ -H 'Connection: keep-alive' \ -H 'Content-Type: application/json' \ -H 'Origin: http://merchant.taler.test:1180' \ -H 'Referer: http://merchant.taler.test:1180/webui/' \ -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36' \ --data-raw '{"order":{"amount":"LOCAL:1","summary":"e","products":[],"pay_deadline":{"t_s":1708547372},"wire_transfer_deadline":{"t_s":1708712972},"refund_deadline":{"t_s":1708547372}},"inventory_products":[],"create_token":true}' \ --compressed { "code": 2500, "hint": "<no hint found>" } I get "no hint"... it used to have an error message saying that an account should be created. I link this problem to the redirection, but maybe is not related. The core problem is the "hint" missing. If that help, this is the first request curl 'http://merchant.taler.test:1180/instances/default/private/orders' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.9,es-AR;q=0.8,es;q=0.7' -H 'Authorization: Bearer secret-token:FB717SM5ADVCMFNAFDVGCBMS5EAE9VZ38S0VKE4WY084R6GXXZ40' -H 'Connection: keep-alive' -H 'Content-Type: application/json' -H 'Origin: http://merchant.taler.test:1180' -H 'Referer: http://merchant.taler.test:1180/webui/' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36' --data-raw '{"order":{"amount":"LOCAL:1","summary":"e","products":[],"pay_deadline":{"t_s":1708547372},"wire_transfer_deadline":{"t_s":1708712972},"refund_deadline":{"t_s":1708547372}},"inventory_products":[],"create_token":true}' --compressed --insecure -v < HTTP/1.1 308 Permanent Redirect < Server: nginx/1.18.0 (Ubuntu) < Date: Wed, 21 Feb 2024 18:30:33 GMT < Content-Length: 0 < Connection: keep-alive < Access-Control-Allow-Origin: * < Access-Control-Expose-Headers: * < Location: /private/orders < Access-Control-Allow-Credentials: true < Access-Control-Allow-Methods: GET, POST, DELETE, PATCH, PUT, OPTIONS |
|
Fun bug. Gana did not sort ECs, but we did a binary search on the semi-sorted list... Fixed in 6d5a42ee..81351ae6 |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-02-21 19:23 | Florian Dold | New Issue | |
2024-02-21 19:23 | Florian Dold | Status | new => assigned |
2024-02-21 19:23 | Florian Dold | Assigned To | => sebasjm |
2024-02-21 19:34 | sebasjm | Note Added: 0021410 | |
2024-02-21 19:34 | sebasjm | Assigned To | sebasjm => Christian Grothoff |
2024-02-21 19:34 | sebasjm | Status | assigned => feedback |
2024-02-21 20:30 | Christian Grothoff | Status | feedback => resolved |
2024-02-21 20:30 | Christian Grothoff | Resolution | open => fixed |
2024-02-21 20:30 | Christian Grothoff | Fixed in Version | => 0.9.4 |
2024-02-21 20:30 | Christian Grothoff | Note Added: 0021416 | |
2024-03-07 20:47 | Christian Grothoff | Status | resolved => closed |