View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0009243 | Taler | wallet-core | public | 2024-10-02 16:25 | 2025-12-12 10:15 |
| Reporter | MarcS | Assigned To | MarcS | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 1.0 | ||||
| Target Version | post-1.0 | Fixed in Version | 1.2 | ||
| Summary | 0009243: When an Exchange is not reachable, wallet-core should return "not reachable" instead of some JSON error | ||||
| Description | HEAD was down, I tried to get the ToS, but got this error: WalletBackendResponseError(code: 7002, when: Optional(taler_swift.Timestamp.milliseconds(1727801238236)), hint: "Couldn\'t parse JSON format from error response", requestUrl: Optional("https://exchange.head.taler.net/terms"), httpStatusCode: Optional(502), errorResponse: nil, message: nil) wallet-core should return that the Exchange couldn't be reached, but not some obscure JSON error. | ||||
| Tags | No tags attached. | ||||
|
|
The wallet now throws the right GANA code (WALLET_EXCHANGE_UNAVAILABLE = 7032) with {exchangeBaseUrl: string, innerError?: TalerErrorDetail} instead. commit f119f4aae40623bb0c15f61f58a65a40ce233eab (HEAD -> master, origin/master, origin/HEAD) Author: Florian Dold <florian@dold.me> Date: Tue Jan 14 23:40:43 2025 +0100 wallet-core: use proper GANA error code when ToS download fails |
|
|
Way to test this: $ ssh taler-test@firefly.gnunet.org $ sandcastle-ng/ # to stop sandcastle: $ ./sandcastle-stop # to start it again $ ./sandcastle-run # (Starting it takes a while) |
|
|
Test is down :-(. |
|
|
The wallet now shows "Network unavailable" at the top of the screen when the internet connection is down. If the connection works but the Exchange returns errors, they are shown in Settings -> Payment Services. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2024-10-02 16:25 | MarcS | New Issue | |
| 2024-10-02 16:25 | MarcS | Status | new => assigned |
| 2024-10-02 16:25 | MarcS | Assigned To | => Florian Dold |
| 2024-10-02 17:05 | Florian Dold | Target Version | => 1.0 |
| 2025-01-14 23:41 | Florian Dold | Note Added: 0023984 | |
| 2025-01-14 23:41 | Florian Dold | Status | assigned => feedback |
| 2025-01-14 23:42 | Florian Dold | Assigned To | Florian Dold => MarcS |
| 2025-03-20 12:07 | Florian Dold | Note Added: 0024253 | |
| 2025-04-18 15:22 | Christian Grothoff | Target Version | 1.0 => 1.0 stretch goals |
| 2025-05-25 16:38 | Christian Grothoff | Note Added: 0024990 | |
| 2025-05-25 16:38 | Christian Grothoff | Assigned To | MarcS => Florian Dold |
| 2025-05-25 16:39 | Christian Grothoff | Status | feedback => assigned |
| 2025-06-05 03:03 | Florian Dold | Assigned To | Florian Dold => MarcS |
| 2025-07-12 18:02 | Christian Grothoff | Product Version | => 1.0 |
| 2025-07-12 18:02 | Christian Grothoff | Target Version | 1.0 stretch goals => post-1.0 |
| 2025-12-07 10:53 | Christian Grothoff | Status | assigned => confirmed |
| 2025-12-12 10:09 | MarcS | Relationship added | related to 0010167 |
| 2025-12-12 10:15 | MarcS | Status | confirmed => resolved |
| 2025-12-12 10:15 | MarcS | Resolution | open => fixed |
| 2025-12-12 10:15 | MarcS | Fixed in Version | => 1.2 |
| 2025-12-12 10:15 | MarcS | Note Added: 0026932 |