Cannot delete entries within Customize Headers
Categories
(Thunderbird :: Search, defect, P2)
Tracking
(thunderbird_esr68 fixed, thunderbird77 fixed)
People
(Reporter: bug.zilla, Assigned: khushil324)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
2.41 KB,
patch
|
khushil324
:
review+
wsmwk
:
approval-comm-beta+
wsmwk
:
approval-comm-esr68+
|
Details | Diff | Splinter Review |
Hi,
I added a few custom headers to search for some messages.
I'm now unable to delete those entries from the drop-down menu.
If I select Remove from the Customise Headers menu they disappear, but once I click OK they reappear in the drop down menu options again.
I've tried in Safe Mode as well.
Comment 1•4 years ago
|
||
I can confirm this is broken.
Comment 2•4 years ago
|
||
Should be somewhere around here: https://searchfox.org/comm-central/rev/1e852ca98a90f42c6dcab821fec4c0f1124b0953/mailnews/base/search/content/CustomHeaders.js#61 - probably broken by de-xbl
Assignee | ||
Comment 3•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Comment 4•3 years ago
|
||
Comment on attachment 9147731 [details] [diff] [review] Bug-1631577-fix-delete-custom-headers-0.patch Review of attachment 9147731 [details] [diff] [review]: ----------------------------------------------------------------- ::: mailnews/base/search/content/CustomHeaders.js @@ +163,5 @@ > } > > function GetListItemAttributeStr(listitem) { > if (listitem) { > + return TrimString(listitem.firstChild.getAttribute("value")); I think this should be firstElementChild to be sure And while we're here, let's just use normal trim(). listitem.firstElementChild.getAttribute("value").trim(); Oh, and GetListItemAttributeStr is only ever called one time. Never with null. Let's just inline the call instead...
Assignee | ||
Comment 5•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 6•3 years ago
|
||
We need to land it for ESR 68 as well as Daily.
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/03319b23c7f9
Fix Cannot delete entries within Customize Headers. r=mkmelin
Updated•3 years ago
|
Updated•3 years ago
|
Comment 8•3 years ago
|
||
Comment on attachment 9147768 [details] [diff] [review] Bug-1631577-fix-delete-custom-headers-1.patch approved for beta
Comment 9•3 years ago
|
||
Comment 10•3 years ago
|
||
Comment on attachment 9147768 [details] [diff] [review] Bug-1631577-fix-delete-custom-headers-1.patch [Triage Comment] Approved for ESR
Comment 11•3 years ago
|
||
bugherder uplift |
Thunderbird 68.9.0:
https://hg.mozilla.org/releases/comm-esr68/rev/b333ec36c423
Description
•