Project

General

Profile

Actions

action #112337

open

[ui/ux][easy] OpenQA admin UI: Link to last match of a needle points to invalid URL size:M

Added by MDoucha almost 2 years ago. Updated almost 2 years ago.

Status:
Workable
Priority:
Normal
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2022-06-13
Due date:
% Done:

0%

Estimated time:

Description

[ui/ux][easy] OpenQA admin UI: Link to last match of a needle points to invalid URL size:M

Observation

Some "Last Match" links in https://openqa.suse.de/admin/needles (if the needle had a recent match) point to invalid URL: https://openqa.suse.de/admin/undefined

Steps to reproduce

For example of the issue, on https://openqa.suse.de/admin/needles enter license-insert-disc into the search input box.

Further details

entrance level issue

Acceptance criteria

  • AC1: Link is fixed

Suggestions

  • Extend tests to ensure we have that covered
Actions #1

Updated by MDoucha almost 2 years ago

  • Description updated (diff)
Actions #2

Updated by okurz almost 2 years ago

  • Tags set to easy, UI/UX, entrance level
  • Subject changed from OpenQA admin UI: Link to last match of a needle points to invalid URL to [ui/ux][easy] OpenQA admin UI: Link to last match of a needle points to invalid URL
  • Description updated (diff)
  • Target version set to Ready

I can confirm the issue. I suspect it's easy to fix.

Actions #3

Updated by livdywan almost 2 years ago

My guess is it's a case in lib/OpenQA/WebAPI/Controller/Admin/Needle.pm where the stepid is not set because the test details no longer exist - in the license-insert-disc case I see three rows each saying about 2 hours ago and 3 years ago respectively meaning the last match will have been deleted, whatever that was.

So I suspect the only thing we can do here is not render a link at all.

Actions #4

Updated by okurz almost 2 years ago

cdywan wrote:

So I suspect the only thing we can do here is not render a link at all.

yes, I think this is a good idea.

Actions #5

Updated by okurz almost 2 years ago

  • Subject changed from [ui/ux][easy] OpenQA admin UI: Link to last match of a needle points to invalid URL to [ui/ux][easy] OpenQA admin UI: Link to last match of a needle points to invalid URL size:M
  • Description updated (diff)
  • Status changed from New to Workable
  • Target version changed from Ready to future
Actions

Also available in: Atom PDF