Closed Bug 1657894 Opened 4 years ago Closed 4 years ago

Filtering in OpenPGP key manager is broken

Categories

(MailNews Core :: Security: OpenPGP, defect)

defect

Tracking

(thunderbird_esr78 fixed, thunderbird80 fixed)

RESOLVED FIXED
81 Branch
Tracking Status
thunderbird_esr78 --- fixed
thunderbird80 --- fixed

People

(Reporter: KaiE, Assigned: KaiE)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Open the OpenPGP key manager.
Type a search entry into the upper area text field and hit enter.

Actual results:
The window closes.
The error console says:

TypeError: document.getElementById(...) is null 2 enigmailKeyManager.js:1702:14
    getFilteredKeys chrome://openpgp/content/ui/enigmailKeyManager.js:1702
    applyFilter chrome://openpgp/content/ui/enigmailKeyManager.js:1793
    applyFilter chrome://openpgp/content/ui/enigmailKeyManager.js:1128
    applyAction chrome://openpgp/content/modules/searchCallback.jsm:35
    value chrome://openpgp/content/modules/searchCallback.jsm:64
    callbackWrapper chrome://openpgp/content/modules/timer.jsm:30
    notify resource://gre/modules/Timer.jsm:62

TypeError: document.getElementById(...) is null enigmailKeyManager.js:1702:14
    getFilteredKeys chrome://openpgp/content/ui/enigmailKeyManager.js:1702
    applyFilter chrome://openpgp/content/ui/enigmailKeyManager.js:1793
    applyFilter chrome://openpgp/content/ui/enigmailKeyManager.js:1128
    applyAction chrome://openpgp/content/modules/searchCallback.jsm:35
    applyActionImmediately chrome://openpgp/content/modules/searchCallback.jsm:31
    setup chrome://openpgp/content/modules/searchCallback.jsm:55

Expected results:
Windows remains open.
List contents are updated to show matches, only.

can be reproduced with 78.1.0 and 78.1.1

Element emptyTree was removed in 1652537, but there is still code that attempts to access it.

Regressed by: 1652537
Assignee: nobody → kaie
Status: NEW → ASSIGNED

Pushed by kaie@kuix.de:
https://hg.mozilla.org/comm-central/rev/de1f3fb8fe2a
Filtering in OpenPGP key manager is broken. r=aleca DONTBUILD

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch

Comment on attachment 9168769 [details]
Bug 1657894 - Filtering in OpenPGP key manager is broken. r=aleca

OpenPGP UI correctness, no risk

Attachment #9168769 - Flags: approval-comm-esr78?
Attachment #9168769 - Flags: approval-comm-beta?

Comment on attachment 9168769 [details]
Bug 1657894 - Filtering in OpenPGP key manager is broken. r=aleca

[Triage Comment]
Approved for beta

Approved for esr78

Attachment #9168769 - Flags: approval-comm-esr78?
Attachment #9168769 - Flags: approval-comm-esr78+
Attachment #9168769 - Flags: approval-comm-beta?
Attachment #9168769 - Flags: approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: