View Issue Details

IDProjectCategoryView StatusLast Update
0008645Talerlibeufin-nexuspublic2024-04-15 21:32
ReporterAntoine A Assigned ToAntoine A  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.10Fixed in Version0.10 
Summary0008645: FIx cashin idempotency when conversion is enabled
DescriptionThe netzbon deployment encountered an error I've seen twice before where ingesting the same incoming EBICS transaction a second time triggers a unique conflict on the talerable_incoming_transactions table in the database.
I didn't trigger this error in regular libeufin-nexus tests because the SQL query used ON CONFLICT to handle this problem correctly and efficiently. However, when conversion is enabled, a trigger is set BEFORE insertion and therefore before the ON CONFLICT check... As this trigger is not idempotent, we need to check idempotency before inserting a row.
I've also added a test case for this in the integration test suite.
TagsNo tags attached.


Antoine A

2024-03-15 16:06

developer   ~0021936

Fixed in e121d549fcc02efe00350ab4fe01a22220d9f149

Issue History

Date Modified Username Field Change
2024-03-15 16:05 Antoine A New Issue
2024-03-15 16:05 Antoine A Status new => assigned
2024-03-15 16:05 Antoine A Assigned To => Antoine A
2024-03-15 16:06 Antoine A Target Version => 0.10
2024-03-15 16:06 Antoine A Status assigned => resolved
2024-03-15 16:06 Antoine A Resolution open => fixed
2024-03-15 16:06 Antoine A Note Added: 0021936
2024-04-09 13:11 Christian Grothoff Fixed in Version => 0.10
2024-04-15 21:32 Christian Grothoff Status resolved => closed