View Issue Details

IDProjectCategoryView StatusLast Update
0010539Talermerchant portal webuipublic2025-11-22 22:06
Reportersebasjm Assigned Tosebasjm Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.1 
Target Version1.2Fixed in Version1.2 
Summary0010539: complete error handling on button actions
Descriptioncurrently there is not clear way on how an error operation shows an error on a ui and this leads to wrong error messages, undetectable uncatched exceptions and missing i18n translations of error messages.

We need an unified (all webapps) way of handling error catching and reporting. So I have defined a "safe" button handler which:
 * takes a function that returns an operation result (the operation already defined happy path and error path with error codes)
 * requires an onFail and onSuccess handlers which may returns an explanation in case of any of this path
 * these handlers never throws, and unhandled cases shows generics errors (unhandled cases should be extremely rare if the software specification is complete)

Also, building and using these handlers make the webapp testable. We now can define, run and verify the behavior of ui components with this "safe" handler interface (given an input, trigger an action and check the next state) which before was not standardized.

kyc, challenger, aml, bank are already complete (which has a moderm ui), marchant backoffice is a challenge because the code is older and worse. webex will be out of scope for now.

This is already being worked on dev/sebasjm/error-handling, rebased periodically.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

sebasjm

2025-11-05 13:18

developer   ~0026309

merged into master at 2958a58fa

Issue History

Date ModifiedUsernameFieldChange
2025-10-29 17:26sebasjmNew Issue
2025-10-29 17:26sebasjmStatusnew => assigned
2025-10-29 17:26sebasjmAssigned To => sebasjm
2025-11-05 13:18sebasjmStatusassigned => informing
2025-11-05 13:18sebasjmResolutionopen => fixed
2025-11-05 13:18sebasjmNote Added: 0026309
2025-11-06 00:29Christian GrothoffProduct Version1.2 => 1.1
2025-11-06 00:29Christian GrothoffFixed in Version => 1.2
2025-11-06 00:29Christian GrothoffTarget Version => 1.2
2025-11-22 22:06Christian GrothoffStatusinforming => closed
2026-08-23 14:18Florian DoldCategorymerchant backoffice SPA => merchant portal webui