View Issue Details

IDProjectCategoryView StatusLast Update
0009794Talerexchangepublic2025-04-24 20:15
Reportersebasjm Assigned ToChristian Grothoff  
PriorityhighSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
Product Versiongit (master) 
Target Version1.0Fixed in Versiongit (master) 
Summary0009794: got 500 trying to create a decision with custom measure
DescriptionApr 24 15:06:21 taler-exchange-httpd[524669]: (QH32R3ZBFSQ5RTYHH02KZWS0JR) DEBUG Preparing SQL statement `SELECT out_invalid_officer,out_account_unknown,out_last_date,out_legitimization_measure_serial_id,out_payto_uri FROM exchange_do_insert_aml_decision($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18);' as `do_insert_aml_decision'
Apr 24 15:06:21 taler-exchange-httpd[524669]: (QH32R3ZBFSQ5RTYHH02KZWS0JR) ERROR PQprepare (`SELECT out_invalid_officer,out_account_unknown,out_last_date,out_legitimization_measure_serial_id,out_payto_uri FROM exchange_do_insert_aml_decision($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18);' as `do_insert_aml_decision') failed with error: ERROR: column "out_payto_uri" does not exist
Apr 24 15:06:21 taler-exchange-httpd[524669]: LINE 1: ...ut_last_date,out_legitimization_measure_serial_id,out_payto_...
Apr 24 15:06:21 taler-exchange-httpd[524669] ^
Apr 24 15:06:21 taler-exchange-httpd[524669]: (QH32R3ZBFSQ5RTYHH02KZWS0JR) ERROR Assertion failed at pg_insert_aml_decision.c:156.
Apr 24 15:06:21 taler-exchange-httpd[524669]: (QH32R3ZBFSQ5RTYHH02KZWS0JR) ERROR Assertion failed at taler-exchange-httpd_aml-decision.c:415.




curl 'http://exchange.taler.test:1180/aml/8RTE8VXBYDTR6P20T77NGQCJXRD5RJ4RGVASWBKFJNRMSGKBKQT0/decision' \
  -H 'Accept: application/json' \
  -H 'Accept-Language: en-US,en;q=0.9,es;q=0.8' \
  -H 'Cache-Control: no-cache' \
  -H 'Connection: keep-alive' \
  -H 'Content-Type: application/json' \
  -H 'Origin: http://localhost:8080' \
  -H 'Pragma: no-cache' \
  -H 'Referer: http://localhost:8080/' \
  -H 'Taler-AML-Officer-Signature: FB77QSM31RFTASFEH9QYCNH3AV22VNGGT31MKB80DVD0BPPPJRHT6WZ28Y90T74EKJN4CTNY7DF0ZCB5EYXG8ZTS8ZDBY58S8FANE1R' \
  -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36' \
  --data-raw '{"officer_sig":"7PT97YN1DPBNEWX06176Z2PVPNTFSZ18AJ3V1Q2K99EQHVNDC459JRTM8N5N200GZGCZ38CXYPRM24H0455VX66EWYW22N0Y5RAC228","h_payto":"KEFSK7Z752N7DEM3N560DHQS9G4BBY52GSNQ4AE28BKBEVF9EE2G","decision_time":{"t_s":1745517981},"justification":"qwe","keep_investigating":false,"new_rules":{"expiration_time":{"t_s":"never"},"rules":[],"successor_measure":"","custom_measures":{"asd":{"check_name":"form-accept-tos","prog_name":"check-tos","context":{"tos_url":"taler.net","provider_name":"asd","ACCEPTED_TERMS_OF_SERVICE":"yes"}}}},"events":[],"properties":{},"new_measures":""}' \
  --insecure
  





TagsNo tags attached.

Activities

sebasjm

2025-04-24 20:15

developer   ~0024667

i have updated to the latest master and works

Issue History

Date Modified Username Field Change
2025-04-24 20:08 sebasjm New Issue
2025-04-24 20:08 sebasjm Status new => assigned
2025-04-24 20:08 sebasjm Assigned To => Christian Grothoff
2025-04-24 20:15 sebasjm Status assigned => resolved
2025-04-24 20:15 sebasjm Resolution open => fixed
2025-04-24 20:15 sebasjm Fixed in Version => git (master)
2025-04-24 20:15 sebasjm Note Added: 0024667