View Issue Details

IDProjectCategoryView StatusLast Update
0008267Talerwallet-corepublic2024-04-15 19:32
ReporterFlorian Dold Assigned ToFlorian Dold 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
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.10Fixed in Version0.10 
Summary0008267: make sure that balance-change notifications come after the corresponding transaction transitioned
DescriptionOtherwise it can look to the user in the UI for a brief moment like money has disappeared.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Florian Dold

2024-03-27 18:23

manager   ~0022013

I fixed one instance where the balance-change notification was emitted *before* the transition notification.

@MarcS: Did you have any particular way to reproduce this issue?

MarcS

2024-03-28 05:31

developer   ~0022027

No. When I reported this I was examining the log file to check why/how the behavior I saw could have happened.
Problem was calling getBalances too early, before wallet-core updated the DB.
I changed my code to "cache" balance-changed-notifications (by setting an internal flag) so they won't trigger immediately. Instead the iOS app now (rather since fall last year) calls getBalances if that flag is set when the user returns to the Balances view, to ensure to get the most recent data.

Issue History

Date ModifiedUsernameFieldChange
2024-01-25 11:22Florian DoldNew Issue
2024-01-25 11:22Florian DoldStatusnew => assigned
2024-01-25 11:22Florian DoldAssigned To => Florian Dold
2024-03-27 18:23Florian DoldAssigned ToFlorian Dold => MarcS
2024-03-27 18:23Florian DoldStatusassigned => feedback
2024-03-27 18:23Florian DoldNote Added: 0022013
2024-03-28 05:31MarcSNote Added: 0022027
2024-03-28 05:31MarcSAssigned ToMarcS => Florian Dold
2024-03-28 11:30Florian DoldStatusfeedback => informing
2024-03-28 11:30Florian DoldResolutionopen => fixed
2024-04-09 11:11Christian GrothoffFixed in Version => 0.10
2024-04-15 19:32Christian GrothoffStatusinforming => closed