Actions
action #102551
open[easy][beginner] api/v1/jobs/overview returns wrong jobs, if a nonexisting job_group was given
Start date:
2021-11-17
Due date:
% Done:
0%
Estimated time:
Tags:
Description
Observation¶
When a nonexisting groupid is passed to api/v1/jobs/overview, openQA returns the same results as if no groupid was given
e.g. https://openqa.suse.de/api/v1/jobs/overview?groupid=9999
The expected result would be an empty set, because no jobs match the given criteria.
Steps to reproduce¶
curl https://openqa.suse.de/api/v1/jobs/overview?groupid=9999
Problem¶
When specifying a concrete parameter like groupid, openQA should return only results that match those parameters explicitly.
Suggestion¶
If parameters are explicitly given, openQA should return only results that match those parameters.
Further details¶
entrance level issue
Workaround¶
None
Updated by okurz about 3 years ago
- Target version set to future
Thanks for the report. That makes sense to look into but not critical so not right now. I hope for your understanding
Updated by okurz over 2 years ago
- Tags set to easy, beginner, entrance level
- Subject changed from api/v1/jobs/overview returns wrong jobs, if a nonexisting job_group was given to [easy][beginner] api/v1/jobs/overview returns wrong jobs, if a nonexisting job_group was given
- Description updated (diff)
Actions