View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009219 | Taler | mechant backend | public | 2024-09-23 23:07 | 2024-09-30 21:21 |
Reporter | Florian Dold | Assigned To | Christian Grothoff | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | git (master) | ||||
Target Version | 0.14 | Fixed in Version | 0.14 | ||
Summary | 0009219: merchant's GET /orders/{order_id} long-poller does not wake up with repurchase | ||||
Description | When already_paid_order_id becomes available, the long-poller does not wake up. While this might be according to the spec, it breaks when re-purchasing an article in a new browser session (*with* a new order ID). | ||||
Steps To Reproduce | $ taler-harness run-integrationtests repurchase Expected: test terminates on time Actual: test times out | ||||
Tags | No tags attached. | ||||
|
To clarify: POSTed and paid Order #1 Then created order #2 with new session X. Someone is now long-polling on order #2. Wallet detected repurchase, used /paid API on order #1 to re-target it to session X. Long-poller on order #2 does not notice. |
|
TALER_DBEVENT_MERCHANT_SESSION_CAPTURED is used by /paid to wake-up long-pollers. The GET *private* orders endpoint already listens for it, but the non-private orders endpoint does not! |
|
Fixed in c67c2b1d..27f71ff3, test now passes. |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-09-23 23:07 | Florian Dold | New Issue | |
2024-09-23 23:07 | Florian Dold | Status | new => assigned |
2024-09-23 23:07 | Florian Dold | Assigned To | => Christian Grothoff |
2024-09-30 20:10 | Christian Grothoff | Note Added: 0023411 | |
2024-09-30 20:13 | Christian Grothoff | Note Added: 0023412 | |
2024-09-30 21:20 | Christian Grothoff | Note Added: 0023413 | |
2024-09-30 21:20 | Christian Grothoff | Status | assigned => resolved |
2024-09-30 21:20 | Christian Grothoff | Resolution | open => fixed |
2024-09-30 21:20 | Christian Grothoff | Fixed in Version | => 0.14 |
2024-09-30 21:21 | Christian Grothoff | Product Version | => git (master) |
2024-09-30 21:21 | Christian Grothoff | Target Version | 1.0 => 0.14 |