View Issue Details

IDProjectCategoryView StatusLast Update
0008474Talermerchant portal webuipublic2024-03-07 19:47
ReporterFlorian Dold 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
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.9.4Fixed in Version0.9.4 
Summary0008474: bad error message when creating order in default instance when no wire account is configured
DescriptionMight have something to do with the redirection to normalize default instance URLs, but Christian is pretty sure he fixed the redirection to include query params.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

sebasjm

2024-02-21 18:34

developer   ~0021410

this is the request the browser is doing

$ curl 'http://merchant.taler.test:1180/private/orders' \
  -H 'Accept: */*' \
  -H 'Accept-Language: en-US,en;q=0.9,es-AR;q=0.8,es;q=0.7' \
  -H 'Authorization: Bearer secret-token:FB717SM5ADVCMFNAFDVGCBMS5EAE9VZ38S0VKE4WY084R6GXXZ40' \
  -H 'Connection: keep-alive' \
  -H 'Content-Type: application/json' \
  -H 'Origin: http://merchant.taler.test:1180' \
  -H 'Referer: http://merchant.taler.test:1180/webui/' \
  -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36' \
  --data-raw '{"order":{"amount":"LOCAL:1","summary":"e","products":[],"pay_deadline":{"t_s":1708547372},"wire_transfer_deadline":{"t_s":1708712972},"refund_deadline":{"t_s":1708547372}},"inventory_products":[],"create_token":true}' \
  --compressed
{
  "code": 2500,
  "hint": "<no hint found>"
}


I get "no hint"... it used to have an error message saying that an account should be created.

I link this problem to the redirection, but maybe is not related. The core problem is the "hint" missing. If that help, this is the first request

curl 'http://merchant.taler.test:1180/instances/default/private/orders' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.9,es-AR;q=0.8,es;q=0.7' -H 'Authorization: Bearer secret-token:FB717SM5ADVCMFNAFDVGCBMS5EAE9VZ38S0VKE4WY084R6GXXZ40' -H 'Connection: keep-alive' -H 'Content-Type: application/json' -H 'Origin: http://merchant.taler.test:1180' -H 'Referer: http://merchant.taler.test:1180/webui/' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36' --data-raw '{"order":{"amount":"LOCAL:1","summary":"e","products":[],"pay_deadline":{"t_s":1708547372},"wire_transfer_deadline":{"t_s":1708712972},"refund_deadline":{"t_s":1708547372}},"inventory_products":[],"create_token":true}' --compressed --insecure -v

< HTTP/1.1 308 Permanent Redirect
< Server: nginx/1.18.0 (Ubuntu)
< Date: Wed, 21 Feb 2024 18:30:33 GMT
< Content-Length: 0
< Connection: keep-alive
< Access-Control-Allow-Origin: *
< Access-Control-Expose-Headers: *
< Location: /private/orders
< Access-Control-Allow-Credentials: true
< Access-Control-Allow-Methods: GET, POST, DELETE, PATCH, PUT, OPTIONS

Christian Grothoff

2024-02-21 19:30

manager   ~0021416

Fun bug. Gana did not sort ECs, but we did a binary search on the semi-sorted list... Fixed in 6d5a42ee..81351ae6

Issue History

Date ModifiedUsernameFieldChange
2024-02-21 18:23Florian DoldNew Issue
2024-02-21 18:23Florian DoldStatusnew => assigned
2024-02-21 18:23Florian DoldAssigned To => sebasjm
2024-02-21 18:34sebasjmNote Added: 0021410
2024-02-21 18:34sebasjmAssigned Tosebasjm => Christian Grothoff
2024-02-21 18:34sebasjmStatusassigned => feedback
2024-02-21 19:30Christian GrothoffStatusfeedback => informing
2024-02-21 19:30Christian GrothoffResolutionopen => fixed
2024-02-21 19:30Christian GrothoffFixed in Version => 0.9.4
2024-02-21 19:30Christian GrothoffNote Added: 0021416
2024-03-07 19:47Christian GrothoffStatusinforming => closed
2026-08-23 14:18Florian DoldCategorymerchant backoffice SPA => merchant portal webui