Closed
Bug 1002611
Opened 11 years ago
Closed 11 years ago
Autocomplete widget for entering email addresse of invited attendees/participants: First one in invitation dialog shows 'null', values get ignored (port bug 959209)
Categories
(Calendar :: E-mail based Scheduling (iTIP/iMIP), defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
3.3
People
(Reporter: aryx, Assigned: MakeMyDay)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
Fallen
:
review+
Fallen
:
approval-calendar-aurora+
|
Details | Diff | Splinter Review |
Lightning 3.3a1 on Windows 8.1
Last good: 20140427 https://tbpl.mozilla.org/?tree=Thunderbird-Trunk&showall=1&rev=109486fb2b22
First bad: 20140428 https://tbpl.mozilla.org/?tree=Thunderbird-Trunk&showall=1&rev=c8a51e3fbe7e
When creating an event and opening the dialog for adding attendees, the autocomplete widget for entering a contact reads 'null', values entered in that field will be ignored in the New Event dialog which opened it.
Seems to be a regression from bug 959209.
Updated•11 years ago
|
Priority: -- → P1
Updated•11 years ago
|
Keywords: regression
Assignee | ||
Comment 1•11 years ago
|
||
Quite simple fix. If inputValue is null, which is obviously the case for the first row without an attendee, setting input.value = inputValue breaks autocomplete, while input.setAttribute("value", inputValue) is responsible to display "null" in the textbox.
Beside that, attendee autocomplete is here also affected by bug 1003856, which becomes obvious with this one fixed.
Do we need to push this to aurora, too? If so, I'm requesting approval.
Reporter | ||
Comment 2•11 years ago
|
||
Comment on attachment 8416517 [details] [diff] [review]
FixBrokenAutocompleteInAttendeeDialog-V1.diff
Review of attachment 8416517 [details] [diff] [review]:
-----------------------------------------------------------------
::: calendar/base/content/dialogs/calendar-event-dialog-attendees.xml
@@ +273,5 @@
> }
>
> + // don't set value with null, otherwise autocomplete stops working,
> + // but make sure attendee and dirty are set
> + if (inputvalue) {
"inputvalue" should be "inputValue".
Furthermore, inputValue could also be set to "" if it fails the |if (email && email.length)| check a few lines before.
Assignee | ||
Comment 3•11 years ago
|
||
Updated patch, considering Archaeopteryx's comments.
Attachment #8416517 -
Attachment is obsolete: true
Attachment #8416517 -
Flags: review?(philipp)
Attachment #8416556 -
Flags: review?(philipp)
Comment 4•11 years ago
|
||
Comment on attachment 8416556 [details] [diff] [review]
FixBrokenAutocompleteInAttendeeDialog-V2.diff
Code looks good and patch works, aside from the TB bug you pointed out. r=philipp
Attachment #8416556 -
Flags: review?(philipp) → review+
Updated•11 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 5•11 years ago
|
||
What about aurora? I guess bug 959209 landed before the merge, but I'm not sure.
Comment 6•11 years ago
|
||
Yes it landed before the merge.
Updated•11 years ago
|
Attachment #8416556 -
Flags: approval-calendar-aurora+
Updated•11 years ago
|
Target Milestone: --- → 3.3
Comment 7•11 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•