View Issue Details

IDProjectCategoryView StatusLast Update
0009434Talermerchant backendpublic2025-08-16 15:33
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version1.0 stretch goalsFixed in Version1.0 stretch goals 
Summary0009434: insert_spent_token fails to increment token family token counter
DescriptionShould probably be replaced by a stored procedure. Also might want to consider supporting an array of tokens being spent at once.
Finally, there is a note on a redundant merchant_serial column, to be checked.
TagsNo tags attached.

Relationships

child of 0009057 assignedavalos support subscription and discount tokens 

Activities

Christian Grothoff

2025-01-01 13:54

manager   ~0023934

insert_issued_token() has the same issue with the counter not being incremented, and also should probably support arrays.

Christian Grothoff

2025-02-27 11:15

manager   ~0024148

Also, idempotency check doesn't seem to be working, on conflict we don't check if the conflict is for an idempotent insertion.

Christian Grothoff

2025-08-14 17:03

manager   ~0025646

Added stored procedures with counter logic. But, still need to check that idempotency checks are actually working. For now I'm omitting the array support.

Issue History

Date Modified Username Field Change
2025-01-01 13:52 Christian Grothoff New Issue
2025-01-01 13:52 Christian Grothoff Status new => assigned
2025-01-01 13:52 Christian Grothoff Assigned To => Christian Grothoff
2025-01-01 13:53 Christian Grothoff Relationship added child of 0009057
2025-01-01 13:53 Christian Grothoff Assigned To Christian Grothoff =>
2025-01-01 13:53 Christian Grothoff Status assigned => confirmed
2025-01-01 13:53 Christian Grothoff Target Version => 1.5
2025-01-01 13:54 Christian Grothoff Note Added: 0023934
2025-02-27 11:15 Christian Grothoff Note Added: 0024148
2025-03-22 14:09 Christian Grothoff Category mechant backend => merchant backend
2025-04-17 22:57 Christian Grothoff Target Version 1.5 => 1.2
2025-07-30 11:41 Christian Grothoff Assigned To => Christian Grothoff
2025-07-30 11:41 Christian Grothoff Status confirmed => assigned
2025-08-14 17:03 Christian Grothoff Note Added: 0025646
2025-08-16 15:33 Christian Grothoff Status assigned => resolved
2025-08-16 15:33 Christian Grothoff Resolution open => fixed
2025-08-16 15:33 Christian Grothoff Fixed in Version => 1.0 stretch goals
2025-08-16 15:33 Christian Grothoff Target Version 1.2 => 1.0 stretch goals