Closed Bug 253447 Opened 20 years ago Closed 20 years ago

VERY unhelpful error if user enters text in "blocks" field


(Bugzilla :: Creating/Changing Bugs, defect, P3)




Bugzilla 2.18


(Reporter: bugreport, Assigned: bugreport)



(1 file, 1 obsolete file)

If a user is new to the system and does not realize that Blocks is a reference
to another bug number, the error message is no help at all.

 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.

Note: This came from investigation of data/errorlog after a user commented that
he  could not open a bug.
Flags: blocking2.18?
Priority: -- → P3
Target Milestone: --- → Bugzilla 2.18
Either a third field in ValidateBugID with the field name or just echoing the
original text would do the trick.
Attached patch Made less confusing (obsolete) — Splinter Review
Assignee: myk → bugreport
Attachment #154644 - Flags: review?
Comment on attachment 154644 [details] [diff] [review]
Made less confusing

Two things:

  - it's kinda weird weird to say bug number 'foo' given that foo isn't a
number. Should we instead be saying something like:

  The bug identifier 'xxxx' is invalid.


  The bug 'xxx' is invalid.

If this message is used both for numbers and for aliases, have you considered
splitting the error message into an alias-specific one? 

Is the <em> a standard?
Attached patch plain wordingSplinter Review
Attachment #154644 - Attachment is obsolete: true
Attachment #154713 - Flags: review?
Attachment #154644 - Flags: review?
Comment on attachment 154713 [details] [diff] [review]
plain wording

Maybe you want to use "identifier" instead of "number'. Maybe not.

Tired of pointing people to a silly bug?
Attachment #154713 - Flags: review? → review+
Flags: approval?
Flags: approval2.18?
(In reply to comment #5)
> Tired of pointing people to a silly bug?

Hell yes. :)
Flags: blocking2.18?
Flags: approval?
Flags: approval2.18?
Flags: approval2.18+
Flags: approval+
checked in on both branches
Closed: 20 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.