View Issue Details

IDProjectCategoryView StatusLast Update
0009955Talermerchant backoffice SPApublic2026-01-26 19:27
ReporterBohdan Assigned Tosebasjm  
PriorityhighSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version1.0 
Target Version1.5 
Summary0009955: Page has to be reload to show changes in orders
DescriptionWhen the orders are changed using API calls backoffice doesn't show this; the page has to be reloaded to show changes; simple navigation between segments is not enough to check for changes
Steps To Reproduce1. Create the order
2. Delete it using a direct call to a backend
3. Go through different pages(e.g. to inventory)
4. Go back to orders
5. Still see the order that has been deleted
TagsNo tags attached.

Relationships

related to 0009681 closedsebasjm while viewing order details page, SPA does not long-poll, shows stale data 
related to 0010734 closedsebasjm order status stale in SPA 

Activities

sebasjm

2025-12-08 19:17

developer   ~0026826

the backend long polling doesn't support this so the SPA doesn't check if the current list changed.

https://docs.taler.net/core/api-merchant.html#get-[-instances-$INSTANCE]-private-orders

We should improve first the backend

Christian Grothoff

2026-01-26 03:33

manager   ~0027355

Added long-polling API with new not_etag query parameter to GET /private/orders/$ID.
Not quite complete though: the trigger on a reconciliation update (wire transfer finished) is missing.

Christian Grothoff

2026-01-26 03:34

manager   ~0027356

(that said, should be OK to add to SPA!)

Christian Grothoff

2026-01-26 05:52

manager   ~0027357

898aad8e..64978c91 adds notifications on settlement status changes. So with this, the SPA should now be able to long-poll on ANY change to the order status using the new not_etag query parameter (ideally in combination with if-none-match set to the ETag to really only get a 304 if nothing changed).

sebasjm

2026-01-26 18:22

developer   ~0027374

this won't solve the original issue. the lp_not_etag is on the order details but no on the order listing.

Christian Grothoff

2026-01-26 19:26

manager   ~0027377

Eh, that depends on which dialog we are talking about. I though this was about the dialog showing an individual order's details. For that dialog, this will help.
For the *list* of all orders, it doesn't directly help, and I'm not sure there is a good way to do that.

Christian Grothoff

2026-01-26 19:26

manager   ~0027378

Anyway, for now please just modify the order details view to long-poll like this on changes to the order that is currently being viewed.

Issue History

Date Modified Username Field Change
2025-05-13 23:54 Bohdan New Issue
2025-05-14 20:30 Christian Grothoff Status new => confirmed
2025-05-14 20:30 Christian Grothoff Target Version 1.0 stretch goals => 1.5
2025-12-07 10:43 Christian Grothoff Relationship added related to 0009681
2025-12-07 10:44 Christian Grothoff Relationship added related to 0010734
2025-12-08 19:15 sebasjm Category merchant backoffice SPA => merchant backend
2025-12-08 19:17 sebasjm Note Added: 0026826
2026-01-25 13:05 Christian Grothoff Assigned To => Christian Grothoff
2026-01-25 13:05 Christian Grothoff Status confirmed => assigned
2026-01-26 00:27 Christian Grothoff Priority normal => high
2026-01-26 03:33 Christian Grothoff Note Added: 0027355
2026-01-26 03:34 Christian Grothoff Note Added: 0027356
2026-01-26 05:52 Christian Grothoff Note Added: 0027357
2026-01-26 05:52 Christian Grothoff Assigned To Christian Grothoff => sebasjm
2026-01-26 05:52 Christian Grothoff Category merchant backend => merchant backoffice SPA
2026-01-26 18:22 sebasjm Assigned To sebasjm => Christian Grothoff
2026-01-26 18:22 sebasjm Status assigned => feedback
2026-01-26 18:22 sebasjm Note Added: 0027374
2026-01-26 19:26 Christian Grothoff Note Added: 0027377
2026-01-26 19:26 Christian Grothoff Note Added: 0027378
2026-01-26 19:27 Christian Grothoff Assigned To Christian Grothoff => sebasjm
2026-01-26 19:27 Christian Grothoff Status feedback => assigned