View Issue Details

IDProjectCategoryView StatusLast Update
0010925Talerwallet-corepublic2026-07-28 16:36
Reportersebasjm Assigned ToFlorian Dold  
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Versiongit (master) 
Target Version1.7 
Summary0010925: getTransactionsv2 throws when recoup transactions are present
Descriptionafter revoking denoms on exchange

01-27 08:17:07.575 28226 30320 I taler-wallet: Received notification from wallet-core: {"type":"request-observability-event","event":{"type":"request-finish-success","durationMs":2523}}
01-27 08:17:07.591 28226 30320 D BackendManager: message received: {"type":"notification","payload":{"type":"task-observability-event","taskId":"exchange-update:https%3A%2F%2Fexchange.taler.ar%2F","event":{"type":"db-query-finish-success","name":"<unknown>","location":"updateWithdrawalDenomsForExchange"}}}
01-27 08:17:07.591 28226 30320 I taler-wallet: Received notification from wallet-core: {"type":"task-observability-event","event":{"type":"db-query-finish-success","name":"<unknown>","location":"updateWithdrawalDenomsForExchange"}}
01-27 08:17:07.591 28226 30320 D BackendManager: message received: {"type":"notification","payload":{"type":"task-observability-event","taskId":"exchange-update:https%3A%2F%2Fexchange.taler.ar%2F","event":{"type":"db-query-start","name":"<unknown>","location":"doExchangeAutoRefresh"}}}
01-27 08:17:07.591 28226 30320 I taler-wallet: Received notification from wallet-core: {"type":"task-observability-event","event":{"type":"db-query-start","name":"<unknown>","location":"doExchangeAutoRefresh"}}
01-27 08:17:07.592 28226 30320 D BackendManager: message received: {"type":"error","operation":"getTransactionsV2","id":11,"error":{"code":7001,"when":{"t_ms":1769512627591},"hint":"unexpected exception (message: Transaction aborted (exception thrown): Error: invalid transaction ID)","stack":" at _TransactionAbortedError (<compiled_js>:43958)\n at <anonymous> (<compiled_js>:44217)\n at call (native)\n at invokeEventListeners (<compiled_js>:36413)\n at dispatchEvent (<compiled_js>:36473)\n at <anonymous> (<compiled_js>:38880)\n at callFirst (<compiled_js>:37054)\n"}}
01-27 08:17:07.592 28226 28226 E taler-wallet: Error: getTransactions error result: TalerErrorInfo(code=WALLET_UNEXPECTED_EXCEPTION, hint=unexpected exception (message: Transaction aborted (exception thrown): Error: invalid transaction ID), message=null, extra={when={"t_ms":1769512627591}, stack=" at _TransactionAbortedError (<compiled_js>:43958)\n at <anonymous> (<compiled_js>:44217)\n at call (native)\n at invokeEventListeners (<compiled_js>:36413)\n at dispatchEvent (<compiled_js>:36473)\n at <anonymous> (<compiled_js>:38880)\n at callFirst (<compiled_js>:37054)\n"})
01-27 08:17:07.593 28226 30320 D BackendManager: message received: {"type":"notification","payload":{"type":"request-observability-event","operation":"getTransactionsV2","requestId":11,"event":{"type":"db-query-finish-error","name":"<unknown>","location":"getTransactionsV2/dispatchRequestInternal","error":{"code":7001,"when":{"t_ms":1769512627591},"hint":"unexpected exception (message: Transaction aborted (exception thrown): Error: invalid transaction ID)","stack":" at _TransactionAbortedError (<compiled_js>:43958)\n at <anonymous> (<compiled_js>:44217)\n at call (native)\n at invokeEventListeners (<compiled_js>:36413)\n at dispatchEvent (<compiled_js>:36473)\n at <anonymous> (<compiled_js>:38880)\n at callFirst (<compiled_js>:37054)\n"}}}}
01-27 08:17:07.593 28226 30320 I taler-wallet: Received notification from wallet-core: {"type":"request-observability-event","event":{"type":"db-query-finish-error","name":"<unknown>","location":"getTransactionsV2/dispatchRequestInternal","error":{"code":7001,"when":{"t_ms":1769512627591},"hint":"unexpected exception (message: Transaction aborted (exception thrown): Error: invalid transaction ID)","stack":" at _TransactionAbortedError (<compiled_js>:43958)\n at <anonymous> (<compiled_js>:44217)\n at call (native)\n at invokeEventListeners (<compiled_js>:36413)\n at dispatchEvent (<compiled_js>:36473)\n at <anonymous> (<compiled_js>:38880)\n at callFirst (<compiled_js>:37054)\n"}}}
01-27 08:17:07.593 28226 30320 D BackendManager: message received: {"type":"notification","payload":{"type":"request-observability-event","operation":"getTransactionsV2","requestId":11,"event":{"type":"request-finish-error"}}}
01-27 08:17:07.593 28226 30320 I taler-wallet: Received notification from wallet-core: {"type":"request-observability-event","event":{"type":"request-finish-error"}}
01-27 08:17:07.593 28226 30320 D BackendManager: message received: {"type":"notification","payload":{"type":"task-observability-event","taskId":"recoup:SD7FA5SZ57MSAFD4RZZV4ZW5SQYSSR6YVEWRKRHJRV7KJHGCYTG0","event":{"type":"db-query-finish-success","name":"<unknown>","location":"recoupWithdrawCoin/processRecoupForCoin"}}}
01-27 08:17:07.593 28226 30320 I taler-wallet: Received notification from wallet-core: {"type":"task-observability-event","event":{"type":"db-query-finish-success","name":"<unknown>","location":"recoupWithdrawCoin/processRecoupForCoin"}}
TagsNo tags attached.

Activities

sebasjm

2026-01-27 19:06

developer   ~0027395

also coins from revoked denominations should not count for balance and should not be selected for p2p
image.png (81,142 bytes)   
image.png (81,142 bytes)   

Florian Dold

2026-07-28 16:36

manager   ~0029254

commit bcc6f2b106699145a0f75f44b27a0e49adcbb57a
Author: Florian Dold <dold@taler.net>
Date: Tue Jul 28 16:11:42 2026 +0200

    wallet: don't materialize recoup groups as transactions
    
    A recoup group got a transaction-meta record but has no transaction context,
    so a single revocation made getTransactions throw for the whole wallet.

Issue History

Date Modified Username Field Change
2026-01-27 12:51 sebasjm New Issue
2026-01-27 12:51 sebasjm Status new => assigned
2026-01-27 12:51 sebasjm Assigned To => Florian Dold
2026-01-27 13:40 Florian Dold Summary getTransactionsv2 throws => getTransactionsv2 throws when recoup transactions are present
2026-01-27 19:06 sebasjm Note Added: 0027395
2026-01-27 19:06 sebasjm File Added: image.png
2026-02-04 22:34 Christian Grothoff Status assigned => confirmed
2026-02-04 22:34 Christian Grothoff Target Version => 1.6
2026-02-22 15:28 Christian Grothoff Target Version 1.6 => 1.7
2026-07-28 16:36 Florian Dold Status confirmed => resolved
2026-07-28 16:36 Florian Dold Resolution open => fixed
2026-07-28 16:36 Florian Dold Note Added: 0029254