Closed Bug 221827 Opened 22 years ago Closed 18 years ago

Missing Bug ID shouldn't be handled as Invalid Bug ID

Categories

(Bugzilla :: Attachments & Requests, defect)

2.17.1
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 3.2

People

(Reporter: timeless, Assigned: timeless)

References

()

Details

Attachments

(1 file, 1 obsolete file)

Steps to reproduce: don't include a &bugid= for &action=enter Actual Results: Invalid Bug ID The 'bug number' is invalid. It is neither a bug number nor an alias to a bug number. If you are trying to use QuickSearch, you need to enable JavaScript in your browser. To help us fix this limitation, add your comments to bug 70907. Expected Results: Missing Bug ID You didn't enter a bug id. Please enter one now: [ ] <Create Attachment> Additionally, you passed bug_id=221826 which was unrecognized by this form.
I have updated the error message a bit, but it still says "invalid bug number". Easy to fix.
Assignee: myk → LpSolit
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 98 → All
Hardware: PC → All
Attached patch trivial patch (obsolete) — Splinter Review
Change the title from "Invalid Bug ID" to "Missing Bug ID" if the bug number is not given.
Attachment #170189 - Flags: review?(vladd)
Status: NEW → ASSIGNED
Comment on attachment 170189 [details] [diff] [review] trivial patch "Missing" would be unappropiate for the "invalid_bug_id_or_alias" error.
Attachment #170189 - Flags: review?(vladd) → review-
QA Contact: mattyt-bugzilla → default-qa
Assignee: LpSolit → attach-and-request
Status: ASSIGNED → NEW
Keywords: ue
Assignee: attach-and-request → timeless
Attachment #170189 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #276382 - Flags: review?(vladd)
Comment on attachment 276382 [details] [diff] [review] rename identifiers I'm not sure we can reach that case without tweaking the URL, so probably it should be a code error. But it's still a nice improvement (maybe the code error thing should be another bug).
Attachment #276382 - Flags: review?(vladd) → review+
Flags: approval?
Flags: approval3.0?
Target Milestone: --- → Bugzilla 3.0
Yeah, we can reach it.
Comment on attachment 276382 [details] [diff] [review] rename identifiers >Index: Bugzilla/WebService/Constants.pm >- invalid_bug_id_or_alias => 100, >- invalid_bug_id_non_existent => 101, >+ improper_bug_id_field_value => 100, >+ bug_id_does_not_exist => 101, > bug_access_denied => 102, > invalid_field_name => 108, Don't break the indentation.
Not approved for 3.0 because this kind of template change is unnecessary on the branch, and just makes life harder for localizers.
Flags: approval?
Flags: approval3.0?
Flags: approval3.0-
Flags: approval+
Keywords: ue
Comment on attachment 276382 [details] [diff] [review] rename identifiers mozilla/webtools/bugzilla/showdependencytree.cgi 1.51 mozilla/webtools/bugzilla/Bugzilla/Bug.pm 1.199 mozilla/webtools/bugzilla/Bugzilla/WebService/Constants.pm 1.8 mozilla/webtools/bugzilla/template/en/default/global/user-error.html.tmpl 1.229
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
This patch never landed on the 3.0 branch.
Target Milestone: Bugzilla 3.0 → Bugzilla 3.2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: