Closed
Bug 194472
Opened 22 years ago
Closed 21 years ago
"Product has no components" error should link to that product's component editor
Categories
(Bugzilla :: User Interface, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: justdave, Assigned: goobix)
Details
Attachments
(1 file, 2 obsolete files)
1.52 KB,
patch
|
kiko
:
review+
|
Details | Diff | Splinter Review |
When you enter a new bug, and you choose a product that has no components in it, you get an error message telling you there are not components defined in that product. If you have editcomponents privs, it also gives you a link to editcomponents.cgi. Except that it links to the main product list, so you have to choose the product all over again (you just did that in order to get the error message). The error message should link directly to the component editor for the product in question.
Reporter | ||
Updated•22 years ago
|
Summary: "Product has no components" error should link to that product's component list → "Product has no components" error should link to that product's component editor
Updated•22 years ago
|
Component: Creating/Changing Bugs → User Interface
Reporter | ||
Comment 1•22 years ago
|
||
The User Interface component now belongs to Gerv. Reassigning all UNCONFIRMED and NEW (but not ASSIGNED) bugs currently owned by Myk (the previous component owner) to Gerv.
Assignee: myk → gerv
Reporter | ||
Comment 2•22 years ago
|
||
Reassigning back to Myk. That stuff about Gerv taking over the User Interface component turned out to be short-lived. Please pardon our confusion, and I'm very sorry about the spam.
Assignee: gerv → myk
I'll take this.
Assignee: myk → caduvall
Severity: normal → trivial
Target Milestone: --- → Bugzilla 2.18
Attachment #134871 -
Flags: review?(justdave)
Comment 5•21 years ago
|
||
Can you reproduce this in some version of Bugzilla? On CVS tip, the enterable_products list never contains products without components, so I can't come up with a situation that would even give that error message.
Comment 6•21 years ago
|
||
Comment on attachment 134871 [details] [diff] [review] Link goes to the desired place >- <a href="editcomponents.cgi">Create a new component</a>. >+ <a href="editcomponents.cgi?product=[% product FILTER uri %]">Create a new component</a>. Make it |FILTER url_quote|, and please wrap the line so that it doesn't exceed 80 chars (if you can).
Attachment #134871 -
Flags: review?(justdave) → review-
Note that the recent checkin for bug#228894 contained part of the fix for this patch. I had done the changes Jouni suggested, and that part of the fix sneaked into the patch for the other bug - sorry. In bug#228894, I have asked for someone to either retract that part of the change, or apply the first part of this patch.
Assignee | ||
Comment 8•21 years ago
|
||
Chaduv's patch with jouni's suggestion.
Attachment #134871 -
Attachment is obsolete: true
Assignee | ||
Comment 9•21 years ago
|
||
Spliting it like this creates a blank space in the URL at the beginning. Spliting instead at the first available space in the URL (the alternative would be to insert a comment in the URL which seems like a dirty hack).
Attachment #140565 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #140567 -
Flags: review?(kiko)
Comment 10•21 years ago
|
||
Comment on attachment 140567 [details] [diff] [review] Patch version 3 Cool!
Attachment #140567 -
Flags: review?(kiko) → review+
Updated•21 years ago
|
Assignee: caduvall → vlad987
Flags: approval?
Reporter | ||
Updated•21 years ago
|
Flags: approval? → approval+
Assignee | ||
Comment 11•21 years ago
|
||
Checking in enter_bug.cgi; /cvsroot/mozilla/webtools/bugzilla/enter_bug.cgi,v <-- enter_bug.cgi new revision: 1.88; previous revision: 1.87 done Checking in template/en/default/global/user-error.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/global/user-error.html.tmpl,v <-- user-error.html.tmpl new revision: 1.48; previous revision: 1.47 done
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Version: 2.17.3 → 2.17.6
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•