View Issue Details

IDProjectCategoryView StatusLast Update
0006920Talermerchant backendpublic2024-01-12 13:04
ReporterChristian Grothoff 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
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.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2021-07-20 11:10

manager   ~0018000

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

Issue History

Date ModifiedUsernameFieldChange
2021-07-13 04:45Christian GrothoffNew Issue
2021-07-13 04:45Christian GrothoffStatusnew => assigned
2021-07-13 04:45Christian GrothoffAssigned To => Christian Grothoff
2021-07-13 04:47Christian GrothoffAssigned ToChristian Grothoff =>
2021-07-13 04:47Christian GrothoffStatusassigned => implementing
2021-07-20 11:10Christian GrothoffAssigned To => Christian Grothoff
2021-07-20 11:10Christian GrothoffStatusimplementing => informing
2021-07-20 11:10Christian GrothoffResolutionopen => fixed
2021-07-20 11:10Christian GrothoffFixed in Version => 0.8
2021-07-20 11:10Christian GrothoffNote Added: 0018000
2021-07-20 11:10Christian GrothoffTarget Version => 0.8
2021-08-24 14:22Christian GrothoffStatusinforming => closed
2024-01-12 13:04Christian GrothoffCategorymerchant backend API (C) => mechant backend
2025-03-22 13:09Christian GrothoffCategorymechant backend => merchant backend