View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008455 | Taler | wallet (Android App) | public | 2024-02-20 20:09 | 2024-03-07 20:52 |
Reporter | Florian Dold | Assigned To | avalos | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Target Version | 0.9.4 | Fixed in Version | 0.9.4 | ||
Summary | 0008455: wallet should reset DB via the "clearDb" instead of manually deleting the database file | ||||
Description | The manual reset does not seem to work reliably. Instead, the reset button should use the wallet-core "clearDb" request. | ||||
Tags | No tags attached. | ||||
|
We're using "clearDb," so if it doesn't work reliably, then it must mean another thing. https://git.taler.net/taler-android.git/tree/wallet/src/main/java/net/taler/wallet/MainViewModel.kt#n157 What do you mean by "does not seem to work reliably"? Could you describe it a bit further? Is it the UI that doesn't react to the reset, or is it that the wallet is not being reset consistently? |
|
However, now I see that the app is not even waiting for confirmation from wallet-core, and is not even catching errors, but rather simply updating the UI after the clearDb request is performed. I'll check that out, maybe some error going on. |
|
Maybe there is some concurrency issue? You are issuing the request, but I'm not sure if you're waiting it to finish. So maybe you're invalidating the balances view *before* the reset actually happens. Did you test the reset functionality with a non-empty wallet yourself? |
|
Should be fixed in 506e74e4aa26c18cc3538f01d9fc588272a3ebe0 (currently in dev/ivan-avalos/master). |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-02-20 20:09 | Florian Dold | New Issue | |
2024-02-20 20:09 | Florian Dold | Status | new => assigned |
2024-02-20 20:09 | Florian Dold | Assigned To | => avalos |
2024-02-21 15:25 | avalos | Note Added: 0021406 | |
2024-02-21 15:27 | avalos | Note Added: 0021407 | |
2024-02-22 18:18 | Florian Dold | Note Added: 0021461 | |
2024-02-25 21:32 | avalos | Note Added: 0021505 | |
2024-02-27 00:14 | avalos | Status | assigned => resolved |
2024-02-27 00:14 | avalos | Resolution | open => fixed |
2024-03-07 20:52 | Christian Grothoff | Fixed in Version | => 0.9.4 |
2024-03-07 20:52 | Christian Grothoff | Status | resolved => closed |