Bug 319513 - Cannot create a maildir folder named "cur", "new" or "tmp"
Summary: Cannot create a maildir folder named "cur", "new" or "tmp"
Status: REOPENED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Maildir Resource (show other bugs)
Version: GIT (master)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-08 10:32 UTC by Jonathan Marten
Modified: 2017-10-06 10:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Marten 2013-05-08 10:32:53 UTC
These folder names are obviously special to the internal operation of maildir.  But the user doesn't know that, and if they attempt to create a folder with one of those names in a maildir resource (which is the preferred format for Local Folders) the creation fails with no error message or any other indication why.

This only seems to happen if the folder is being created in an empty folder (one that contains no items), or only subfolders.


Reproducible: Always

Steps to Reproduce:

1.  In either kmail or akonadiconsole, go to or create a new empty folder which is a maildir resource.

2.  From the context menu, click "New Folder".

3.  Enter one of the names "cur", "new" or "tmp" (without the quotes of course).

Actual Results:  
No subfolder is created.  No error message is shown.

If the original folder had no subfolders, then a "+" expansion indicator flashes briefly in the folder tree and then disappears again.


Expected Results:  
Either a subfolder of that name should be created, or if this is not possible due to internal limitations then an appropriate error message should be shown.
Comment 1 Denis Kurz 2016-09-24 20:33:12 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 21:53:59 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.
Comment 3 Jonathan Marten 2017-10-06 10:00:25 UTC
Confirmed with current kdepim-runtime maildir resource Git master (8616ee44d).