GNOME Bugzilla – Bug 637727
Sent/Draft folder not set in startup-wizard account
Last modified: 2011-02-11 11:59:40 UTC
Moving this from a downstream bug report: https://bugzilla.redhat.com/show_bug.cgi?id=664431 Evolution as shipped with Fedora 14 does not have a "Sent Messages Folder" configured under "Defaults" in the account options screen. This causes a somewhat confusing error to appear when sending an email message. Sent messages will still go on to their intended destination, and the message will be appended to the "Sent" folder, but the error message persists until the user goes into their account setup and sets a reasonable value. Version-Release number of selected component (if applicable): Evolution 2.32.1 Steps to Reproduce: 1. Begin with a clean install of Evolution. 2. Enter your account details (note under "Defaults" the folder is not set. 3. Send a message, see the error. Actual results: An error message appears on the screen that may lead the user to believe their message did not go through or that they did something wrong. Expected results: No error message since Evolution should set a reasonable default value for this setting and/or not complain when it's going to fall-back on the "Sent" folder anyway.
somehow related to bug 637440
Is this still reproducable with 2.91? I rewrote all the sending logic.
I noticed this too with new fresh account, just after install, when there is no evolution running yet. You get a startup wizard to configure your first email account, and it has not filled Sent and Drafts folder, probably because the folder button checks whether they exist, but they are not, the underlying data are not initialized yet. That's my guess on the issue.
Created attachment 180648 [details] [review] evo patch for evolution; e-mail-local wasn't initialized, so it was returning NULL URLs for Sent and Draft folders in startup-wizard. I realized that the 'initialized' variable wasn't set properly in e_mail_local_init, so I fixed that, together with added few more checks to avoid issues like this.
Created commit 7215cf0 in evo master (2.91.90+)