Project

General

Profile

action #95030

Better, complete validation of parameters on /tests/overview

Added by okurz 4 months ago. Updated 4 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2021-06-29
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Motivation

The tests overview page doesn't validate its input. Omitting the group leads to the site picking up some results from the entire db. Invalid values lead to server errors.

Examples:

Acceptance criteria

  • AC1: Document use case w/o group
  • AC2: Request fails if invalid groups are specified

Suggestion

  • Add message to web UI e.g. "showing failed results from all groups" or something
  • Add parameter validation to lib/OpenQA/WebAPI/Controller/Test.pm

Related issues

Copied from openQA Project - action #94901: Simple validation of parameters on /tests/overviewResolved2021-06-292021-07-22

History

#1 Updated by okurz 4 months ago

  • Copied from action #94901: Simple validation of parameters on /tests/overview added

Also available in: Atom PDF