Project

General

Profile

Actions

action #53891

closed

[openqa] Posting comments results in getting comments unless the URI scheme is specified

Added by rpalethorpe about 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
-
Start date:
2019-07-05
Due date:
% Done:

0%

Estimated time:

Description

Take the following:

rich@rpws ~> openqa-client --host openqa.opensuse.org --apikey CB3705D3354546E0 --apisecret XXX jobs/975114/comments POST text=test123
[
{
bugrefs => [],
created => "2019-07-05 08:15:47 +0000",
id => 43271,
renderedMarkdown => "update comment test\n",
text => "update comment test",
updated => "2019-07-05 08:45:11 +0000",
userName => "rpalethorpe",
},
]
rich@rpws ~> openqa-client --host https://openqa.opensuse.org --apikey CB3705D3354546E0 --apisecret XXX jobs/975114/comments POST text=test123
{ id => 43287 }

okurz thinks this may be due to https://github.com/os-autoinst/openQA/pull/2110.

Note that this only happens on O3 and not OSD. I also tried using two different versions of the openqa-client. Also the following works:

openqa-client --host openqa.opensuse.org --apikey CB3705D3354546E0 --apisecret XXX jobs/975114/comments/43271 PUT text="update comment test"
{ id => 43271 }

So the problem maybe only effects POST requests.

Actions

Also available in: Atom PDF