View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009267 | Taler | mechant backend | public | 2024-10-14 09:33 | 2024-10-15 19:31 |
Reporter | Christian Grothoff | Assigned To | Christian Grothoff | ||
Priority | high | Severity | block | Reproducibility | always |
Status | resolved | Resolution | unable to reproduce | ||
Platform | i7 | OS | Debian GNU/Linux | OS Version | squeeze |
Product Version | git (master) | ||||
Target Version | 0.14 | Fixed in Version | 0.14 | ||
Summary | 0009267: sandbox /pos endpoint returns bogus list of categories | ||||
Description | Output: curl -H "Authorization: Bearer secret-token:sandbox" https://backend.demo.taler.net/nstances/sandbox/private/pos { "categories": [ { "id": 0, "name": "default" } ], "products": [ { "description": "Oktoberfest!", "description_i18n": {}, "unit": "liters", "price": "KUDOS:50", "image": "", "categories": [ 11 ], "taxes": [], "total_stock": 9223372036854775807, "minimum_age": 16, "product_serial": 45, "product_id": "beer" }, { "description": "kebab", "description_i18n": {}, "unit": "meal", "price": "KUDOS:10", "image": "", "categories": [ 12 ], "taxes": [], "total_stock": 9223372036854775807, "minimum_age": 0, "product_serial": 47, "product_id": "doenner" }, { "description": "H2O", "description_i18n": {}, "unit": "liter", "price": "KUDOS:1", "image": "", "categories": [ 11 ], "taxes": [], "total_stock": 9223372036854775807, "minimum_age": 0, "product_serial": 44, "product_id": "water" }, { "description": "pizza 30 cm", "description_i18n": {}, "unit": "slice", "price": "KUDOS:5", "image": "", "categories": [ 12 ], "taxes": [], "total_stock": 9223372036854775807, "minimum_age": 0, "product_serial": 46, "product_id": "pizza" } ] } | ||||
Tags | No tags attached. | ||||
|
I also get this for the default instance -- references unknown category. |
|
That seems to be an old bug. However, with HEAD I get: $ curl -H "Authorization: Bearer secret-token:sandbox" https://backend.head.taler.net/instances/sandbox/private/pos { "categories": [ { "id": 0, "name": "default" } ], "products": [] } even though I added products! |
|
Seems head was reset between me adding and testing curl. Works now fine. |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-10-14 09:33 | Christian Grothoff | New Issue | |
2024-10-14 09:33 | Christian Grothoff | Status | new => assigned |
2024-10-14 09:33 | Christian Grothoff | Assigned To | => Christian Grothoff |
2024-10-14 09:35 | Christian Grothoff | Note Added: 0023526 | |
2024-10-14 09:39 | Christian Grothoff | Note Added: 0023527 | |
2024-10-15 19:31 | Christian Grothoff | Status | assigned => resolved |
2024-10-15 19:31 | Christian Grothoff | Resolution | open => unable to reproduce |
2024-10-15 19:31 | Christian Grothoff | Fixed in Version | => 0.14 |
2024-10-15 19:31 | Christian Grothoff | Note Added: 0023535 |