View Issue Details

IDProjectCategoryView StatusLast Update
0007924Talermerchant backoffice SPApublic2024-04-15 21:32
Reportersebasjm Assigned Tosebasjm  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.10Fixed in Version0.10 
Summary0007924: all spa should query /config, handle network errors nicely
Descriptionthe error handling of
the SPA is bad: it gets a 404 (see rightmost screen) but in the UI there
is no error shown at all --- just the 'register' button doesn't do
anything. I can click it, but nothing happens!

1) Please make sure that *all* errors of *all* network requests by the
SPA are consistently handled.

2) All (!) SPAs (bank, merchant, anastasis) should do a "/config"
request early on to determine whether your configuration is sound.

2a) If not, instead of even showing a login/initial form show one big
error message that you are not configured correctly (suggesting the user
should "try again later by reloading the page with F5" or whatever will
sufficiently reload the cached configuration).

2b) Better, you could then try to force-reload your configuration
periodically (if the SPA has one that is downloaded via HTTP) in the
background once per minute and go to the login/initial screen once
/config works...).
TagsNo tags attached.

Relationships

child of 0008364 closedChristian Grothoff test, package and upload merchant 0.10 to ftp and stable Debian/Ubuntu server 

Activities

sebasjm

2024-04-05 15:42

developer   ~0022124

89dde0536

Issue History

Date Modified Username Field Change
2023-08-24 20:06 sebasjm New Issue
2023-08-24 20:06 sebasjm Status new => assigned
2023-08-24 20:06 sebasjm Assigned To => sebasjm
2024-01-30 00:48 Christian Grothoff Severity major => tweak
2024-02-16 22:47 Christian Grothoff Product Version 0.11 => git (master)
2024-02-16 22:47 Christian Grothoff Target Version 0.11 => 0.10
2024-02-16 22:48 Christian Grothoff Relationship added child of 0008364
2024-03-05 11:14 Florian Dold Summary all spa should query /config (and other stuffs) => all spa should query /config, handle network errors nicely
2024-04-05 15:42 sebasjm Status assigned => resolved
2024-04-05 15:42 sebasjm Resolution open => fixed
2024-04-05 15:42 sebasjm Note Added: 0022124
2024-04-09 13:11 Christian Grothoff Fixed in Version => 0.10
2024-04-15 21:32 Christian Grothoff Status resolved => closed