View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007846 | Taler | specification | public | 2023-05-22 19:07 | 2023-09-23 15:09 |
Reporter | sebasjm | Assigned To | Christian Grothoff | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | git (master) | ||||
Target Version | 0.9.3 | Fixed in Version | 0.9.3 | ||
Summary | 0007846: after creating a reserve for tipping, the list of account is empty | ||||
Description | creation was OK and it returned with account curl 'https://merchant-backend.taler.ar/instances/default/private/reserves' \ -H 'Authorization: Bearer secret-token:<something here>' \ --data-raw '{"initial_balance":"ARS:2","exchange_url":"https://exchange.taler.ar/","wire_method":"iban"}' \ { "reserve_pub": "N1DJB6VSDX4M3NR8BVP1BF836EX86VE97HSJ8J4XTB8JM1H3SYAG", "accounts": [ { "payto_uri": "payto://iban/SANDBOXX/DE295170?receiver-name=exchange-feb", "master_sig": "W7RX1SQE4GC6ATHBF08XEJNWZP2VG7J04AGN263YDPZHSG75AKTK20J4A0FZ6JNCVY6RK8P3CF51WEC63KBREC4QHYJ1S4B723G560G", "credit_restrictions": [], "debit_restrictions": [] } ] } But then getting the details didn't return accounts curl 'https://merchant-backend.taler.ar/instances/default/private/reserves/N1DJB6VSDX4M3NR8BVP1BF836EX86VE97HSJ8J4XTB8JM1H3SYAG?tips=yes' \ -H 'Authorization: Bearer secret-token:<the same secret here unless it was changed>' \ { "creation_time": { "t_s": 1684775123 }, "expiration_time": { "t_s": 1716311123 }, "merchant_initial_amount": "ARS:2", "exchange_initial_amount": "ARS:0", "pickup_amount": "ARS:0", "committed_amount": "ARS:0", "active": true, "exchange_url": "https://exchange.taler.ar/", "accounts": [] } | ||||
Tags | No tags attached. | ||||
|
In "insert_reserve_key", we somehow stored the "reserve_pub" twice in the table, and once instead of "master_pub"... |
|
db344e1..16a14fc fixes the issue and expands the test suite. |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-05-22 19:07 | sebasjm | New Issue | |
2023-05-22 19:07 | sebasjm | Status | new => assigned |
2023-05-22 19:07 | sebasjm | Assigned To | => Christian Grothoff |
2023-05-27 19:48 | Christian Grothoff | Note Added: 0020204 | |
2023-05-27 19:53 | Christian Grothoff | Note Added: 0020205 | |
2023-05-27 19:53 | Christian Grothoff | Status | assigned => resolved |
2023-05-27 19:53 | Christian Grothoff | Resolution | open => fixed |
2023-05-27 19:53 | Christian Grothoff | Fixed in Version | => 0.9.3 |
2023-09-23 15:09 | Christian Grothoff | Status | resolved => closed |
2024-01-12 14:02 | Christian Grothoff | Category | merchant backend API (HTTP specification) => specification |