View Issue Details

IDProjectCategoryView StatusLast Update
0011049Talerlibeufin-bank-ui (SPA)public2026-02-11 20:57
ReporterAntoine A Assigned ToAntoine A  
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Target Version1.5 
Summary0011049: Login error are formatted as unexpected errors
DescriptionSee the screenshot for more details
TagsNo tags attached.
Attached Files
image.png (100,606 bytes)   
image.png (100,606 bytes)   

Activities

sebasjm

2026-02-11 19:48

developer   ~0027669

i changed the title, the description "wrong credentails" is in fact something correct based on the error code returned by the server.

Based on the username you used a message "user not found" might be better but currently the server doesn't return a different code for that.
image-2.png (11,462 bytes)   
image-2.png (11,462 bytes)   

sebasjm

2026-02-11 19:49

developer   ~0027670

74c60e6f4

the title is better but no further change

sebasjm

2026-02-11 19:50

developer   ~0027671

I think it would be better if libeufin return a different error code if the account is not found, otherwise this can be closed

Antoine A

2026-02-11 20:09

developer   ~0027675

I think the error should be better integrated in the UI, it looks like an error that should never happens but it's something that we expect to happens. I think we should handle differently errors that a user should handle and one the admin/dev should handle

sebasjm

2026-02-11 20:46

developer   ~0027680

For unhappy path there is only 3 types:
 1) on the spec, like this one. The message is short and should explain very well what happens in the user language. Usually not a problem but the operation failed.
 2) not in the spec, this are "unexpected" problems, it could be the 1) but it was not in the spec or one of the server/client has different interpretation of the spec and needs to be fixed. the app do the best to explain the error with all the information it have
 3) bugs, breaks the app. can't continue.

If you are saying that there should be even a lighter version that (1) I disagree, it should be simple and work. And i think if the description is short the message is not intrusive.

In you screenshot the "debug info" is enable, if that is very intrusive this can be moved to the sidebar. This is not something a normal user will want so I guess in the sidebar is ok
image-3.png (24,166 bytes)   
image-3.png (24,166 bytes)   

sebasjm

2026-02-11 20:57

developer   ~0027681

21bf079c5..8e620b99a

moving "show debug info" to a side bar and removing the persistent feature (which is only useful if you are a dev) now the app starts always with debug = false, even after reload

Issue History

Date Modified Username Field Change
2026-02-11 09:32 Antoine A New Issue
2026-02-11 09:32 Antoine A File Added: image.png
2026-02-11 09:33 Antoine A Assigned To => Antoine A
2026-02-11 09:33 Antoine A Status new => assigned
2026-02-11 09:33 Antoine A Assigned To Antoine A => sebasjm
2026-02-11 19:48 sebasjm Note Added: 0027669
2026-02-11 19:48 sebasjm File Added: image-2.png
2026-02-11 19:49 sebasjm Note Added: 0027670
2026-02-11 19:50 sebasjm Assigned To sebasjm => Antoine A
2026-02-11 19:50 sebasjm Status assigned => feedback
2026-02-11 19:50 sebasjm Note Added: 0027671
2026-02-11 20:09 Antoine A Note Added: 0027675
2026-02-11 20:46 sebasjm Note Added: 0027680
2026-02-11 20:46 sebasjm File Added: image-3.png
2026-02-11 20:57 sebasjm Status feedback => resolved
2026-02-11 20:57 sebasjm Resolution open => fixed
2026-02-11 20:57 sebasjm Note Added: 0027681