Project

General

Profile

action #112337

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

Added by MDoucha 2 months ago. Updated 2 months ago.

Status:
Workable
Priority:
Normal
Assignee:
-
Category:
Concrete Bugs
Target version:
Start date:
2022-06-13
Due date:
% Done:

0%

Estimated time:
Difficulty:

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

History

#1 Updated by MDoucha 2 months ago

  • Description updated (diff)

#2 Updated by okurz 2 months 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.

#3 Updated by cdywan 2 months 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.

#4 Updated by okurz 2 months 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.

#5 Updated by okurz 2 months 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

Also available in: Atom PDF