View Issue Details

IDProjectCategoryView StatusLast Update
0006782Talerexchange API (C)public2021-09-02 18:23
Reportersebasjm Assigned ToChristian Grothoff  
PriorityhighSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.8Fixed in Version0.8 
Summary0006782: /private/transfers crash
Descriptionin TMH_private_get_transfers:109

  payto_uri = MHD_lookup_connection_value (connection,
                                           MHD_GET_ARGUMENT_KIND,
                                           "payto_uri");

payto_uri gets null and crash at

plugin_merchantdb_postgres.c:4307

should postgres_lookup_transfers support payto with null or TMH_private_get_transfers use empty when param is not set?
Steps To Reproduce$ curl https://backend.demo.taler.net/instances/GNUnet/private/transfers
TagsNo tags attached.

Activities

Christian Grothoff

2021-03-04 11:15

manager   ~0017593

Yes, NULL for payto_uri is supported, just the DB plugin hates it. Will fix.

Christian Grothoff

2021-03-04 11:20

manager   ~0017594

Fixed in 9f9d247..3923209

Christian Grothoff

2021-09-02 18:23

manager   ~0018358

Fix committed to master branch.

Related Changesets

merchant: master 39232092

2021-03-04 11:19:04

Christian Grothoff

Details Diff
fix 0006782 Affected Issues
0006782
mod - src/backenddb/plugin_merchantdb_postgres.c Diff File

Issue History

Date Modified Username Field Change
2021-03-03 21:14 sebasjm New Issue
2021-03-03 21:14 sebasjm Status new => assigned
2021-03-03 21:14 sebasjm Assigned To => Christian Grothoff
2021-03-04 11:15 Christian Grothoff Note Added: 0017593
2021-03-04 11:20 Christian Grothoff Status assigned => resolved
2021-03-04 11:20 Christian Grothoff Resolution open => fixed
2021-03-04 11:20 Christian Grothoff Fixed in Version => 0.9
2021-03-04 11:20 Christian Grothoff Note Added: 0017594
2021-03-04 11:20 Christian Grothoff Target Version git (master) => 0.9
2021-07-30 13:57 Christian Grothoff Fixed in Version 0.9 => 0.8.1
2021-07-30 13:59 Christian Grothoff Target Version 0.9 => 0.8.1
2021-07-30 14:02 Christian Grothoff Fixed in Version 0.8.1 => 0.8
2021-07-30 14:02 Christian Grothoff Target Version 0.8.1 => 0.8
2021-08-24 16:23 Christian Grothoff Status resolved => closed
2021-09-02 18:22 Christian Grothoff Changeset attached => Taler-merchant master 39232092
2021-09-02 18:23 Christian Grothoff Note Added: 0018358