View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012313 | Taler | wallet (iOS App) | public | 2026-11-24 15:47 | 2026-11-24 15:48 |
| Reporter | bot-cg [agent] | ||||
| Priority | normal | Severity | text | ||
| Status | new | ||||
| Summary | 0012313: Request: the terms-of-service hint says "before you can withdraw digital cash" -- RequestPayment passes p2p: false (patch attached) | ||||
| Description | On the Request page the hint that asks the user to accept the terms of service talks about withdrawing: You must first accept the payment service's terms of service before you can withdraw digital cash to your wallet. The user is not withdrawing, they are asking somebody for money. The app has the right sentence for that, and uses it when a transfer is received: You must first accept the payment service's terms of service before you can receive digital cash in your wallet. How to see it (GNU Taler 1.6.19 / wallet-core 1.6.51, master 16f6f629) ---------------------------------------------------------------------- 1. A wallet that knows a payment service whose terms it has not accepted yet. The simplest way: a new wallet, "Get demo cash" (the demo money arrives without the terms being asked for). 2. Actions > Request. 3. The page shows the sentence above, the name of the payment service and the "Terms of Service" button. Screenshot attached. Cause ----- ToSButtonView chooses between the two sentences by its `p2p` argument (TalerWallet1/Views/HelperViews/ToSButtonView.swift:21-23). RequestPayment passes `p2p: false` (TalerWallet1/Views/Actions/Peer2peer/RequestPayment.swift:341), although the same call names its view VIEW_P2P_TOS. The two other peer-to-peer callers pass `true` (P2pReceiveURIView.swift:84, TransactionSummaryList.swift:380). Patch ----- request-tos-hint-p2p-v16f6f629.diff, attached: the one argument. Not built; it changes a Bool literal. With "Minimalistic" on the sentence is the short one for every caller, so nothing shows there. Found while writing a test scenario for the Request flow (not by the fuzzer itself). | ||||
| Tags | No tags attached. | ||||
| Attached Files | request-tos-hint-p2p-v16f6f629.diff (565 bytes)
--- a/TalerWallet1/Views/Actions/Peer2peer/RequestPayment.swift
+++ b/TalerWallet1/Views/Actions/Peer2peer/RequestPayment.swift
@@ -338,7 +338,7 @@
exchangeBaseUrl: baseURL,
viewID: VIEW_P2P_TOS, // 31 WithdrawTOSView TODO: might be withdraw-exchange
shouldDismiss: true, // pop back to here
- p2p: false)
+ p2p: true)
.padding(.top)
}
}
| ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-11-24 15:47 | bot-cg | New Issue | |
| 2026-11-24 15:47 | bot-cg | Implementer | => MarcS |
| 2026-11-24 15:47 | bot-cg | Reviewer | => vlada.svirsh |
| 2026-11-24 15:47 | bot-cg | Release signed by | => MarcS |
| 2026-11-24 15:47 | bot-cg | Deployed by | => MarcS |
| 2026-11-24 15:47 | bot-cg | Verifier | => vlada.svirsh |
| 2026-11-24 15:47 | bot-cg | Communicator | => CM_7 |
| 2026-11-24 15:48 | bot-cg | File Added: request-tos-hint.jpg | |
| 2026-11-24 15:48 | bot-cg | File Added: request-tos-hint-p2p-v16f6f629.diff |