Open Bug 2001107 Opened 2 days ago Updated 1 day ago

Console warning 'Get msg hdr failed for msgUri' when forwarding an encrypted EML message

Categories

(MailNews Core :: Security: OpenPGP, defect)

Thunderbird 128
defect

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: welpy-cw, Assigned: welpy-cw)

References

Details

Attachments

(1 file)

Several messages like

 0:19.20 GECKO(227671) console.warn: "Get msg hdr failed for msgUri=mailbox:///home/[…]/source/obj-x86_64-pc-linux-gnu/_tests/testing/mochitest/browser/comm/mail/test/browser/composition/data/testmsg.eml?number=0&realtype=message/rfc822"
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMessenger.msgHdrFromURI]" 
nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://openpgp/content/ui/enigmailMsgComposeOverlay.js :: getMsgHdr :: line 109"  data: no]

when executing comm/mail/test/browser/composition/browser_emlActions.js.

Consistently reproduced also by manually forwarding an encrypted PGP message.

Since this is an expected failure in this case, I suggest suppressing the warning for these kind of URIs, see following patch.

Assignee: nobody → h.w.forms
Status: NEW → ASSIGNED
See Also: → 1635648

What exactly do you do to trigger it manually?

(In reply to Magnus Melin [:mkmelin] from comment #2)

What exactly do you do to trigger it manually?

After having Bob's private key imported (I think that's mail/test/browser/openpgp/data/keys/bob@openpgp.example-0xfbfcc82a015e7330-secret.asc), I opened mail/test/browser/openpgp/data/eml/encrypted-and-signed-alice-to-bob-nonascii.eml and clicked 'Forward'.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: