Project

General

Profile

Actions

action #102551

open

[easy][beginner] api/v1/jobs/overview returns wrong jobs, if a nonexisting job_group was given

Added by ph03nix over 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2021-11-17
Due date:
% Done:

0%

Estimated time:

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

Actions #1

Updated by okurz over 2 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

Actions #2

Updated by okurz almost 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

Also available in: Atom PDF