View Issue Details

IDProjectCategoryView StatusLast Update
0006840Talermechant backendpublic2021-04-12 15:09
Reportersebasjm Assigned ToChristian Grothoff  
PriorityhighSeveritymajorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Versiongit (master) 
Target Version0.9Fixed in Version0.9 
Summary0006840: merchant backend does not handle the auth token correctly
DescriptionI have added an integration test

there are two problems:

1.- when the default instance is not yet created
and the product list is queried
and the query HAVE the authorization token
then backend respond 401 instead of 404

test at line 252

2.- when the default instance is created
and was created auth auth.method == token
and the instance is access without the Authorization header
then backend respond 200 instance of 401

test at line 280
TagsNo tags attached.


Christian Grothoff

2021-04-10 16:42

manager   ~0017731

I just moved the scripts into merchant.git, where they belong.

Christian Grothoff

2021-04-12 15:09

manager   ~0017735

9b5717e..87c18d5 fixes the bug.
87c18d5..3b7e8d4 integrates the shell-script based tests to the build system.

Issue History

Date Modified Username Field Change
2021-04-09 21:01 sebasjm New Issue
2021-04-09 21:01 sebasjm Status new => assigned
2021-04-09 21:01 sebasjm Assigned To => Christian Grothoff
2021-04-10 16:42 Christian Grothoff Note Added: 0017731
2021-04-10 16:42 Christian Grothoff Target Version git (master) => 0.9
2021-04-12 15:09 Christian Grothoff Note Added: 0017735
2021-04-12 15:09 Christian Grothoff Status assigned => resolved
2021-04-12 15:09 Christian Grothoff Resolution open => fixed
2021-04-12 15:09 Christian Grothoff Fixed in Version => 0.9