Bug 251511

Summary: Impossible to send emails saved as draft
Product: [Applications] KMail Mobile Reporter: Sabine Faure <sabine>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CLOSED FIXED    
Severity: normal CC: bjoern.ricks, felix.wolfsteller, steveire
Priority: HI    
Version: unspecified   
Target Milestone: ---   
Platform: Maemo 5   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sabine Faure 2010-09-16 22:46:16 UTC
Version:           unspecified (using Devel) 
OS:                Linux

If the user reopens an email that has been saved as draft and tries to open it, a pop up error message says that the message cannot be deleted.

This does not make sense.

Reproducible: Always

Steps to Reproduce:
- Launch Kmail-mobile
- Click on 'Write new email'
- Fill in title (ex: Email 1), recipient and enter a few words.
- Open 'Actions' tab
- Click on 'Save as Draft'
- The email is correctly saved as draft
- Go to Local Folders/Drafts in folder view to see it
- Click on Email 1 to display it in the composer
- Wait for a few seconds or click on 'Send' button

Actual Results:  
A pop up 'Delete Draft error - Kmail Mobile' message appears saying: 'Can not delete draft.'

This message does not make sense since the user did not try to delete the message at all.

Expected Results:  
The message should be sent properly.

I suspect that the error message appears also when the user reopen a draft message in a composer but then chooses to discard it.

In that case it would make sense but I could not test it since the pop up error appears before I have a chance to click on discard.

I will retest this part later.


N900, 4:4.5~20100916.1175939-1maemo1.1174921
Comment 1 Felix Wolfsteller 2010-09-17 09:50:03 UTC
It works as expected in an earlier version (4:4.5~20100910.1175630-1maemo6.1174786).

This is thus a regression, increased priority.
Comment 2 Stephen Kelly 2010-09-17 16:32:37 UTC
Should be fixed by r1176371
Comment 3 Stephen Kelly 2010-09-17 16:33:14 UTC
By which I mean I can't reproduce after that change, so please retest when it is available :).
Comment 4 Felix Wolfsteller 2010-09-21 11:39:37 UTC
Confirming appropriate behavior in version 4:4.5~20100920.1177660-1maemo1.1177547 .
Comment 5 Sabine Faure 2010-09-23 21:45:53 UTC
It is corrected now.

The draft email is now properly sent after the user reopened it and clicked on 'send'.


N900, 4:4.5~20100922.1178352-1maemo1.1177763
Comment 6 Sabine Faure 2011-01-20 23:37:31 UTC
I retested today and this bug is still fixed so I am closing it now.

N900, 4:4.6~.20110118.1600.git254268b-1maemo1.121498