Clearing the list of keywords and then pressing Enter causes the first keyword to be submitted

RESOLVED FIXED in Bugzilla 4.2

Status

()

Bugzilla
User Interface
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: Ehsan, Assigned: glob)

Tracking

4.0.6
Bugzilla 4.2
Bug Flags:
approval +
approval4.2 +

Details

Attachments

(1 attachment)

STR:

1. Open a bug with a keyword.
2. Clear the list of the keywords, and then press Enter.  You have now chosen the first keyword in the list!
Not a BMO customization so we will push upstream and work it from there.

dkl
Assignee: nobody → ui
Component: User Interface → User Interface
Product: bugzilla.mozilla.org → Bugzilla
QA Contact: ui → default-qa
Version: Production → 4.0.6

Comment 2

5 years ago
Also fails if you leave the comma at the end of the list, i.e.
1. Start with "access, checkin-needed"
2. Delete "checkin-needed", but retain the comma after "access"
3. Press Enter.
4. Watch "#relman/triage/defer-to-group" get added.
(Assignee)

Comment 3

5 years ago
Created attachment 633420 [details] [diff] [review]
patch v1

this patch disables autoHighlight when the query is empty.
Assignee: ui → glob
Status: NEW → ASSIGNED
Attachment #633420 - Flags: review?(dkl)
Comment on attachment 633420 [details] [diff] [review]
patch v1

Review of attachment 633420 [details] [diff] [review]:
-----------------------------------------------------------------

nice. r=dkl
Attachment #633420 - Flags: review?(dkl) → review+

Updated

5 years ago
Flags: approval?

Updated

5 years ago
Flags: approval?
Flags: approval4.2+
Flags: approval+
OS: Mac OS X → All
Hardware: x86 → All
Target Milestone: --- → Bugzilla 4.2
(Assignee)

Comment 5

5 years ago
Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bugzilla/4.2
modified js/field.js
Committed revision 8102.

Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bugzilla/trunk/
modified js/field.js
Committed revision 8294.
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Depends on: 780883

Updated

5 years ago
Blocks: 780883
No longer depends on: 780883
You need to log in before you can comment on or make changes to this bug.