View Issue Details

IDProjectCategoryView StatusLast Update
0008015Talerexchangepublic2024-03-07 19:47
ReporterFlorian Dold 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
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.9.4Fixed in Version0.9.4 
Summary0008015: purse expires without refunding coins
DescriptionThe exchange reports an expired purse without refunding coins.

Of course the taler-exchange-expire process needs to be run for purses to be expired and refunded properly. But even when the process does *not* run, purses should simply not be reported as expired until they were refunded.

Otherwise, we end up in a state where the following statements are true at the same time:
* purse has been reported as expired and can't be merged anymore
* coins deposited in the purse are not refunded yet
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2023-12-24 18:14

manager   ~0020804

I've now changed the code to ONLY return 410 gone once the purse was properly expired and otherwise always allow it to still be merged. I've also increased the default purse expiration job frequency from once per hour to once per minute, so as to ensure that the expiration also roughly happens at the right time.

Christian Grothoff

2023-12-24 18:14

manager   ~0020805

Note that I'm resolving this with limited testing as there was no integration test provided to begin with, but as you were claiming to be "blocked" on this, I strongly suspect you do have one...

Issue History

Date ModifiedUsernameFieldChange
2023-12-19 17:33Florian DoldNew Issue
2023-12-19 17:33Florian DoldStatusnew => assigned
2023-12-19 17:33Florian DoldAssigned To => Christian Grothoff
2023-12-22 05:53Christian GrothoffTarget Version0.9.4 => 0.10
2023-12-22 14:06Christian GrothoffTarget Version0.10 => 0.11
2023-12-24 18:14Christian GrothoffNote Added: 0020804
2023-12-24 18:14Christian GrothoffStatusassigned => informing
2023-12-24 18:14Christian GrothoffResolutionopen => fixed
2023-12-24 18:14Christian GrothoffFixed in Version => 0.9.4
2023-12-24 18:14Christian GrothoffNote Added: 0020805
2023-12-24 18:15Christian GrothoffTarget Version0.11 => 0.9.4
2024-03-07 19:47Christian GrothoffStatusinforming => closed