Empty message body on send and/or Save As Draft
I have been getting reports of empty messages being received from me using Evolution. Looking into my Sent messages folder I can see that the message was even saved there with an empty body, despite my obviously not composing messages with empty bodies. Additionally a message saved in the composer as a draft saves with an empty message body. I.e.
…
X-Evolution-Source-Folder: folder://1345338321.1269.1%40brian-laptop/INBOX
X-Evolution-Source-Message: 1740482
X-Evolution-Source-Flags: ANSWERED ANSWERED_ALL SEEN
X-Evolution-Draft-Folder: folder://1345338321.1269.1%40brian-laptop/Drafts
X-Evolution-Draft-Message: 2915
X-Evolution-Format: text/html
X-Evolution-Composer-Mode: text/plain
Content-Type: multipart/alternative; boundary="=-DT8RuG50iNCna3itWLwv"
User-Agent: Evolution 3.50.2 (3.50.2-1.fc39)
Date: Mon, 12 Feb 2024 18:45:56 -0500
MIME-Version: 1.0
X-Evolution-Source: 1345338321.1269.1@brian-laptop
--=-DT8RuG50iNCna3itWLwv
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
--=-DT8RuG50iNCna3itWLwv
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="attachment.html"
Content-Type: text/html; charset="utf-8"; name="attachment.html"
--=-DT8RuG50iNCna3itWLwv--
As you can see, there is indeed an empty body even though the composer it was saved from most certainly has a body to the message.
Stderr/out of evolution when I save the draft, in case it's relevant:
Feb 12 18:45:56 brian-laptop.interlinx.bc.ca evolution[8302]: (/builddir/build/BUILD/evolution-3.50.2/src/modules/webkit-editor/e-webkit-editor.c:2238):webkit_editor_get_content_finish: code should not be reached
Feb 12 18:45:56 brian-laptop.interlinx.bc.ca evolution[8302]: (/builddir/build/BUILD/evolution-3.50.2/src/modules/webkit-editor/e-webkit-editor.c:2238):webkit_editor_get_content_finish: code should not be reached
Feb 12 18:45:56 brian-laptop.interlinx.bc.ca evolution[8302]: (/builddir/build/BUILD/evolution-3.50.2/src/composer/e-msg-composer.c:4822):e_msg_composer_get_content_hash: runtime check failed: (composer->priv->content_hash != NULL)
Feb 12 18:45:56 brian-laptop.interlinx.bc.ca evolution[8302]: e_content_editor_util_get_content_data: assertion 'content_hash != NULL' failed
Feb 12 18:45:56 brian-laptop.interlinx.bc.ca evolution[8302]: composer_build_message: Failed to retrieve text/plain processed content
Feb 12 18:45:56 brian-laptop.interlinx.bc.ca evolution[8302]: (/builddir/build/BUILD/evolution-3.50.2/src/composer/e-msg-composer.c:4822):e_msg_composer_get_content_hash: runtime check failed: (composer->priv->content_hash != NULL)
Feb 12 18:45:56 brian-laptop.interlinx.bc.ca evolution[8302]: e_content_editor_util_get_content_data: assertion 'content_hash != NULL' failed
Feb 12 18:45:56 brian-laptop.interlinx.bc.ca evolution[8302]: composer_build_message: Failed to retrieve draft content
Feb 12 18:45:56 brian-laptop.interlinx.bc.ca evolution[8302]: (/builddir/build/BUILD/evolution-3.50.2/src/composer/e-msg-composer.c:4822):e_msg_composer_get_content_hash: runtime check failed: (composer->priv->content_hash != NULL)
Feb 12 18:45:56 brian-laptop.interlinx.bc.ca evolution[8302]: e_content_editor_util_get_content_data: assertion 'content_hash != NULL' failed
Feb 12 18:45:56 brian-laptop.interlinx.bc.ca evolution[8302]: e_msg_composer_unref_content_hash: assertion 'composer->priv->content_hash_ref_count > 0' failed
Feb 12 18:45:56 brian-laptop.interlinx.bc.ca evolution[8302]: e_msg_composer_unref_content_hash: assertion 'composer->priv->content_hash_ref_count > 0' failed