View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010291 | Taler | merchant backend | public | 2025-08-25 19:25 | 2025-08-26 17:47 |
Reporter | sebasjm | Assigned To | Christian Grothoff | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | assigned | Resolution | open | ||
Product Version | 1.1 | ||||
Target Version | 1.1 | ||||
Summary | 0010291: wrong serial interpretation on query for listing tokens | ||||
Description | After this query $ curl -s 'http://merchant.taler.test/private/tokens?&limit=-6' -H 'Authorization: Bearer secret-token:xxx' | jq '.tokens[].serial' 33 32 28 27 26 19 SPA uses the last serial ID to query the next N tokens, but the result is empty $ curl -s 'http://merchant.taler.test/private/tokens?offset=26&limit=-6' -H 'Authorization: Bearer secret-token:xxx' | jq '.tokens[].serial' it seems that offset is use as the index on the result set $ curl -s 'http://merchant.taler.test/private/tokens?offset=2&limit=-6' -H 'Authorization: Bearer secret-token:xxx' | jq '.tokens[].serial' 28 27 26 19 17 14 Instead it must return the tokens after serial=N https://docs.taler.net/core/api-merchant.html#get-[-instances-$INSTANCE]-private-tokens > offset – Optional. Starting serial for pagination. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2025-08-25 19:25 | sebasjm | New Issue | |
2025-08-26 10:53 | Christian Grothoff | Assigned To | => Christian Grothoff |
2025-08-26 10:53 | Christian Grothoff | Status | new => assigned |
2025-08-26 17:47 | sebasjm | Relationship added | related to 0010292 |