View Issue Details

IDProjectCategoryView StatusLast Update
0009434Talermerchant backendpublic2025-08-31 17:09
ReporterChristian Grothoff Assigned ToChristian Grothoff Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
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.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

child of 0009057 implementingavalos support subscription and discount tokens [meta] 

Activities

Christian Grothoff

2025-01-01 12: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 10: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 15: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 ModifiedUsernameFieldChange
2025-01-01 12:52Christian GrothoffNew Issue
2025-01-01 12:52Christian GrothoffStatusnew => assigned
2025-01-01 12:52Christian GrothoffAssigned To => Christian Grothoff
2025-01-01 12:53Christian GrothoffRelationship addedchild of 0009057
2025-01-01 12:53Christian GrothoffAssigned ToChristian Grothoff =>
2025-01-01 12:53Christian GrothoffStatusassigned => implementing
2025-01-01 12:53Christian GrothoffTarget Version => 1.4
2025-01-01 12:54Christian GrothoffNote Added: 0023934
2025-02-27 10:15Christian GrothoffNote Added: 0024148
2025-03-22 13:09Christian GrothoffCategorymechant backend => merchant backend
2025-04-17 20:57Christian GrothoffTarget Version1.4 => 1.6
2025-07-30 09:41Christian GrothoffAssigned To => Christian Grothoff
2025-07-30 09:41Christian GrothoffStatusimplementing => assigned
2025-08-14 15:03Christian GrothoffNote Added: 0025646
2025-08-16 13:33Christian GrothoffStatusassigned => informing
2025-08-16 13:33Christian GrothoffResolutionopen => fixed
2025-08-16 13:33Christian GrothoffFixed in Version => 1.0 stretch goals
2025-08-16 13:33Christian GrothoffTarget Version1.6 => 1.0 stretch goals
2025-08-31 17:09Christian GrothoffStatusinforming => closed