action #112337
open[ui/ux][easy] OpenQA admin UI: Link to last match of a needle points to invalid URL size:M
0%
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
Updated by okurz over 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.
Updated by livdywan over 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.
Updated by okurz over 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.
Updated by okurz over 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