Fix another failure in autotest rendertest
ClosedPublic

Authored by gjditchfield on Aug 8 2019, 1:01 AM.

Details

Summary

EncryptedMessagePart::okDecryptMIME() checks the decryption result
error code (at messagepart.cpp line 1196), finds GPG_ERR_NO_SECKEY, and
causes the rendered HTML to contain the error message "No secret key".
I think that when inlinepgpencrypted-error.mbox.html was added, gpgme
returned a different error code.

Diff Detail

Repository
R94 PIM: Message Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
gjditchfield created this revision.Aug 8 2019, 1:01 AM
Restricted Application added a project: KDE PIM. · View Herald TranscriptAug 8 2019, 1:01 AM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
gjditchfield requested review of this revision.Aug 8 2019, 1:01 AM
dvratil accepted this revision.Aug 14 2019, 12:40 PM
This revision is now accepted and ready to land.Aug 14 2019, 12:40 PM
This revision was automatically updated to reflect the committed changes.