Bug 254972

Summary: Incorrect file type extension added when exporting emails
Product: [Applications] KMail Mobile Reporter: Sabine Faure <sabine>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CLOSED FIXED    
Severity: normal CC: tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sabine Faure 2010-10-22 17:23:21 UTC
Version:           unspecified (using Devel) 
OS:                Linux

When exporting emails if the user click on the 'Type' button to see if the emails can be saved with another type of file, an error message appear preventing the user to finish the export.

Reproducible: Always

Steps to Reproduce:
- Launch Kmail-mobile
- Click on your Imap resource
- Select a folder containing a couple of emails
- Open the 'actions' tab
- Click on 'Folder'
- Click on'Export Emails'
- Click on 'Emails in current folder' button
- Enter a file name in the 'Save file' dialogue (ex: Export test 1)
- Select a location on your HD for the file to be exported
- Click on 'Type' button
- Click on 'All files'
- '.*' has been added at the end of the file name
- Click on 'Save' button


Actual Results:  
A pop up error appear saying: 'Field unable to contain '*' '.

And until the user removes the '.*' the file cannot be saved.

Expected Results:  
The '.*'  should not be displayed at all after the user clicks on the 'Type' button since it is not there by default.

N900, 4:4.6~20101022.1188404-1maemo1.1188357 

Note: the file seemed to be saved properly after that since I could reopen it in a web browser.
Comment 1 Tobias Koenig 2010-11-30 11:37:08 UTC
Hej Sabine,

I have changed the default type from 'All files' to '*.mbox' in the export dialog.
Can you retest please if the error still occurs?

Ciao,
Tobias
Comment 2 Sabine Faure 2010-12-02 18:24:24 UTC
Hi Tobias!

Indeed this is corrected now.

The '.*' is not displayed anymore after the user clicks on the 'Type'
button and the file is properly saved so I am closing this bug.

N900, 4:4.6~20101202.1202765-1maemo1.1202581