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

Also available in: Atom PDF