Bug 690155 - [RFE] recipe/job IDs in error messages should be links
Summary: [RFE] recipe/job IDs in error messages should be links
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Beaker
Classification: Retired
Component: inventory
Version: 0.5
Hardware: Unspecified
OS: Unspecified
medium
medium vote
Target Milestone: ---
Assignee: beaker-dev-list
QA Contact:
URL:
Whiteboard: UX
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-23 13:24 UTC by Ales Zelinka
Modified: 2020-11-19 22:17 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-19 22:13:48 UTC


Attachments (Terms of Use)

Description Ales Zelinka 2011-03-23 13:24:34 UTC
Description of problem:
I got this error when returning a machine:

Failed to return ibm-ls22-01.rhts.eng.brq.redhat.com: u'System has active recipe 124476'

It was surprisingly hard and unintuitive to get to the recipe details. Can you please turn the ID into a link?

Thanks

Comment 1 Min Shin 2012-11-07 07:23:28 UTC
This bugs is closed as it is either not in the current Beaker scope or we could not find sufficient data in the bug report for consideration.
Please feel free to reopen the bug with additional information and/or business cases behind it.

Comment 2 Ales Zelinka 2012-11-07 17:54:15 UTC
Reopening. I believe I've described the problem in comment#0 .Let me know what additional information do you require and I will provide it.

Comment 3 Dan Callaghan 2012-11-07 22:08:40 UTC
This would be messy to do in the general case (putting hyperlinks into exception strings) but maybe there is some way we can address this case in particular.

Ales, how are you attempting to return the system? From the system page? Did you see that there is a link right there to the "Current Job" which the system is participating in?

Comment 4 Ales Zelinka 2012-11-08 15:15:34 UTC
I don't remember what exactly happened (it's been 1.5 half year). But I suspect it was one of those corner cases where there was a running recipe from a deleted job so I couldn't click through the job to the recipe and had to use the recipeID directly. 

Anyway this bug is a more general usability RFE: I can rephrase it as "each and every job/recipe/recipeset ID that is displayed in webUI should be a link". 

I agree that having HTML in raw exceptions is plain ugly but maybe you can use some consistent identifiers in exceptions like J:XYZ for job and RS:XYZ for recipe sets and then transform them into links when they get passed from application to presentation layer?


Note You need to log in before you can comment on or make changes to this bug.