View Issue Details

IDProjectCategoryView StatusLast Update
0010020Talerexchangepublic2025-08-31 17:09
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
PriorityurgentSeveritymajorReproducibilityhave not tried
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version1.0 stretch goalsFixed in Version1.0 stretch goals 
Summary0010020: kyc-decisions test causes DB error in exchange
DescriptionLooks related to the 0010003 fix.
Steps To Reproduce$ taler-harness run-integrationtests kyc-decisions
Additional Information2025-05-26T10:48:34.897725+0200 pq-1224890(GHPFTFATT4MPJ8N3ZT038E3MS0) ERROR Query `do_insert_aml_decision' failed with result: insert or update on table "wire_targets" violates foreign key constraint "wire_targets_fk_kyc_targets"/Key (h_normalized_payto)=(\x9490719bef2024d7207ac7534368b3efba63be0483806e00a0d9bd4e5502e5ed) is not present in table "kyc_targets"./ERROR: insert or update on table "wire_targets" violates foreign key constraint "wire_targets_fk_kyc_targets"
DETAIL: Key (h_normalized_payto)=(\x9490719bef2024d7207ac7534368b3efba63be0483806e00a0d9bd4e5502e5ed) is not present in table "kyc_targets".
CONTEXT: SQL statement "INSERT INTO wire_targets
    (wire_target_h_payto
    ,h_normalized_payto
    ,payto_uri
    ) VALUES (
     in_h_full_payto
    ,in_h_normalized_payto
    ,in_payto_uri
    )"
PL/pgSQL function exchange_do_insert_aml_decision(text,bytea,bytea,bigint,bigint,text,bytea,bytea,bigint,text,boolean,text,text,text,bytea,bytea,text,text[],text) line 77 at SQL statement
/PGRES_FATAL_ERROR/ERROR: insert or update on table "wire_targets" violates foreign key constraint "wire_targets_fk_kyc_targets"
DETAIL: Key (h_normalized_payto)=(\x9490719bef2024d7207ac7534368b3efba63be0483806e00a0d9bd4e5502e5ed) is not present in table "kyc_targets".
CONTEXT: SQL statement "INSERT INTO wire_targets
    (wire_target_h_payto
    ,h_normalized_payto
    ,payto_uri
    ) VALUES (
     in_h_full_payto
    ,in_h_normalized_payto
    ,in_payto_uri
    )"
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

There are no notes attached to this issue.

Issue History

Date ModifiedUsernameFieldChange
2025-05-26 09:04Florian DoldNew Issue
2025-05-26 09:05Florian DoldAssigned To => Christian Grothoff
2025-05-26 09:05Florian DoldStatusnew => assigned
2025-05-26 11:38Christian GrothoffStatusassigned => informing
2025-05-26 11:38Christian GrothoffResolutionopen => fixed
2025-05-26 11:38Christian GrothoffFixed in Version => 1.0 stretch goals
2025-05-26 11:38Christian GrothoffProduct Version => git (master)
2025-08-31 17:09Christian GrothoffStatusinforming => closed