View Issue Details

IDProjectCategoryView StatusLast Update
0010241Talermerchant backendpublic2025-08-07 15:41
Reportersebasjm Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version1.0 stretch goals 
Target Version1.0 stretch goals 
Summary0010241: adding product on backend doesn't have an effect
Descriptionversion
taler-merchant-httpd v1.0.5-git-d989aa1

after sending the patch

$ curl 'http://backend.taler.localhost/private/categories/1' -X 'PATCH' -H 'Accept: application/json' -H 'Accept-Language: en-US,en;q=0.9' -H 'Authorization: Bearer secret-token:CD6Z7FJKHDSBJ0N5TR41JRC8QW38C492K39VR5E92RSZVG5HQ3FG' -H 'Cache-Control: no-cache' -H 'Connection: keep-alive' -H 'Content-Type: application/json' -H 'Origin: http://backend.taler.localhost' -H 'Pragma: no-cache' -H 'Referer: http://backend.taler.localhost/webui/' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-origin' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36' -H 'sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138"' -H 'sec-ch-ua-mobile: ?0' -H 'sec-ch-ua-platform: "Linux"' --data-raw '{"name":"food","name_i18n":{},"products":[{"product_id":"we"}],"id":"1"}'

product count still 0 and details doesnt bring the products

$ curl http://backend.taler.localhost/private/categories -H 'Authorization: Bearer secret-token:CD6Z7FJKHDSBJ0N5TR41JRC8QW38C492K39VR5E92RSZVG5HQ3FG'
{
  "categories": [
    {
      "category_id": 1,
      "name": "food",
      "name_i18n": {},
      "product_count": 0
    }
  ]
}

$ curl http://backend.taler.localhost/private/categories/1 -H 'Authorization: Bearer secret-token:CD6Z7FJKHDSBJ0N5TR41JRC8QW38C492K39VR5E92RSZVG5HQ3FG'
{
  "name": "food",
  "name_i18n": {},
  "products": []
}
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-08-07 15:41 sebasjm New Issue