Summary: | Try to reopen a unread draft mail fails with couldn't restore error msg. | ||
---|---|---|---|
Product: | [Unmaintained] KMail Mobile | Reporter: | Ludwig Reiter <ludwig.reiter> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | adam, sabine, tokoe |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Maemo 5 | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Ludwig Reiter
2010-11-17 15:05:44 UTC
I can reproduce this bug today. A pop up 'Restore Draft Error - Kmail Mobile' dialogue appears with the following message: 'Could not restore a draft' and an 'Ok' button. However, after I click on its 'Ok' button and switch windows I can see that the draft was properly restored in a composer and sending it works fine. So the error message should not be displayed at all since this works. Also the Composer with the restored draft should probably open in front of Kmail-mobile main window to show to the user that it's there. N900, 4:4.6~20101117.1198109-1maemo1.1198084 SVN commit 1201725 by tilladam: Don't try to restores in threads when not in thread view. CCBUG: 257151 M +2 -0 kmail-mobile.qml WebSVN link: http://websvn.kde.org/?view=rev&revision=1201725 tried again with version 20101202-1202744-1maemo1 I can still reproduce the "Could not restore a draft" error msg. I retested this today and I could not reproduce with only 1 unread email in the drafts folder however I could reproduce this bug with 2 unread email in the drafts folder by clicking on the most recent one of the two. - write two emails that you save as draft - Go to the Drafts folder (Local Folders) - The two emails appear as unread (in red) - Click on the most recent one (the top one) The 'Restore Draft Error' pop up dialogue appears. N900, 4:4.6~20101203.1203110-1maemo1.1202581 commit 72053ce24face915e6829b64f9838c879072f1a2 branch master Author: Tobias Koenig <tokoe@kde.org> Date: Thu Dec 23 16:44:58 2010 +0100 Add debug output We need some more information why draft recovery fails on maemo, so print out the job error. CCBUG: 257151 diff --git a/mobile/mail/mainview.cpp b/mobile/mail/mainview.cpp index 5a2d07c..b745472 100644 --- a/mobile/mail/mainview.cpp +++ b/mobile/mail/mainview.cpp @@ -569,7 +569,7 @@ void MainView::composeFetchResult( KJob *job ) { const ItemFetchJob *fetchJob = qobject_cast<ItemFetchJob*>( job ); if ( job->error() || fetchJob->items().isEmpty() ) { - kDebug() << "error!!"; + kDebug() << "error:" << job->errorText(); //###: review error string KMessageBox::sorry( this, i18n( "Could not restore a draft." ), Hej Sabine, can you retest this issue please and attach the debug output here that starts with 'error:'? Ciao, Tobias Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I will be closing this bug. |