View Issue Details

IDProjectCategoryView StatusLast Update
0006920Talermechant backendpublic2024-01-12 14:04
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version0.8Fixed in Version0.8 
Summary0006920: merchant backend returns wrong/confusing status code when tipping reserve has insufficient funds
DescriptionMarcello writes:

The steps I followed to observe this problem are the following:

1 Log in as the taler-internal user on Gv.
2 Stop all the services: taler-deployment-stop
3 Run taler-deployment-prepare (it will delete all the DBs)
4 Tune the survey site to tip more than what the prepare
   script allocated for tips. The modification must occur in
   the "submit_survey()" function. A tip of 70 should suffice
   to reproduce the problem.
5 Install the modified survey site: make install
6 Restart all the services: taler-deployment-start
7 Visit: survey.int.taler.net => ask for tip => see the message
   about tip money "never invested" => wrong. The correct
   message should be: "Tip money got all given, please return later!"

> On 01.07.21 08:33, ms wrote:
>> Done. The screenshot shows the new error message, in case the deployment
>> machinery fails at making a tip reserve. *However*, I could not get the
>> backend
>> return a 2752 (insufficient funds) error, but always a 2753 (reserve not
>> found).
>>
>> In particular, asking 4 Kudos tip on a 1 Kudos tip reserve kept saying
>> 2753, instead
>> of 2752. That seems unexpected..
TagsNo tags attached.

Activities

Christian Grothoff

2021-07-20 13:10

manager   ~0018000

I've modified our DB interaction to extract more precise error codes.

Issue History

Date Modified Username Field Change
2021-07-13 06:45 Christian Grothoff New Issue
2021-07-13 06:45 Christian Grothoff Status new => assigned
2021-07-13 06:45 Christian Grothoff Assigned To => Christian Grothoff
2021-07-13 06:47 Christian Grothoff Assigned To Christian Grothoff =>
2021-07-13 06:47 Christian Grothoff Status assigned => confirmed
2021-07-20 13:10 Christian Grothoff Assigned To => Christian Grothoff
2021-07-20 13:10 Christian Grothoff Status confirmed => resolved
2021-07-20 13:10 Christian Grothoff Resolution open => fixed
2021-07-20 13:10 Christian Grothoff Fixed in Version => 0.8
2021-07-20 13:10 Christian Grothoff Note Added: 0018000
2021-07-20 13:10 Christian Grothoff Target Version => 0.8
2021-08-24 16:22 Christian Grothoff Status resolved => closed
2024-01-12 14:04 Christian Grothoff Category merchant backend API (C) => mechant backend