+ Reply to Thread
Results 1 to 7 of 7

Thread: Error when creating subfolder [v0.1-stable and v0.1.1]

  1. #1
    mprittie is offline Registered User
    Join Date
    Apr 2008
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default Error when creating subfolder [v0.1-stable and v0.1.1]

    I've been trying to resolve this problem for sometime know, but have been able to find an answer, hopefully one of you can help.

    Everything has been working fine lately with both the 0.1-stable and the 0.1.1 versions I've installed, except for the ability to create subfolders. I can create primary folders, but every time I try to create a sub folder a red div pops up with the error message "An error has occurred while saving".

    I've tried creating subfolders the following ways...
    1. I've tried selecting the would be parent folder and entering the subfolder text, which produces an error.
    2. I've tried entering the folder text "parent/subfolder", which produces an error.
    3. I've dragged a folder named "subfolder" onto the desired parent folder, which produces an error.
    4. I've tried entering the folder text "parent.subfolder", creates a folder which appears as "parent.subfolder" and doesn't behave as I believe a subfolder should.

    We're running Dovecot and using the MBOX format. Like I said everything is running fine, except for the ability to create subfolders.

    Any help would be appreciated, thanks.

  2. #2
    mprittie is offline Registered User
    Join Date
    Apr 2008
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default I forgot to mention

    When I check the roundcube log (when set to log errors), the apache log, and the mail log I don't find any errors at all.

  3. #3
    sebastien Cottalorda is offline Registered User
    Join Date
    Aug 2008
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default I encountered the same problem

    Hi,

    I encountered the same problem with the last 0.2 alpha version (downloaded few hours ago)

    Cheers.

    Sebastien

  4. #4
    dano is offline Registered User
    Join Date
    May 2007
    Posts
    124
    Downloads
    0
    Uploads
    0

    Default

    I'm not sure if it's the same or not as I'm using the SVN but if I select the folder I want to make a subfolder in (click on it) then in the create new folder box it says "This folder will be created as subfolder of the currently selected one" and it works.

  5. #5
    dkggpeters is offline Registered User
    Join Date
    Aug 2008
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default

    The problem is you are using mbox and not maildir.

    With mbox when you add a folder you are actually adding a file. You cannot build a directory off a file.

    To build directories in mbox you have to do the following and cannot create a directory off an existing file.

    Type in a file name using like Temp/it in which a directory Temp will be created and a file it. you can then delete it and create what is designated as a directory but is actually a file.

    To create multiple nexted try Temp/Test/it which will create a directory Temp and a diretory Test under Temp with a file it. Just remember that using this the last item will be a file and not a directory which you can name to your liking or delete.

    Play around with this a bit and you will get it.

    Things to note is that you cannot drag e-mails to a directory but you can to a file. If you understand how mbox this is evident.

    If you are using Maildir then you can create directories and subdirectories using the create folder option.

    Mbox stores many e-mails in a file while Maildir creates a seperate file for each e-mail.

    Dave

  6. #6
    DaveQB is offline Registered User
    Join Date
    Jan 2007
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default

    This does not work on Roundcube 0.3.1 unfortunately


    I think I might change my entire mail server to maildir, which I had been considering for some time anyway.


    Any other workaround in the short term?

  7. #7
    Thardus is offline Roundcube Newcomer
    Join Date
    Jan 2010
    Posts
    8
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by DaveQB View Post
    This does not work on Roundcube 0.3.1 unfortunately


    I think I might change my entire mail server to maildir, which I had been considering for some time anyway.


    Any other workaround in the short term?
    I know this thread is a few months old now but I commented out the javascript validation starting on line 3257 of program/js/app.js:
    Code:
          if (name.indexOf(this.env.delimiter)>=0)
            {
            //alert(this.get_label('forbiddencharacter')+' ('+this.env.delimiter+')');
            //return false;
            }
    Here's my original post: Folders and subfolders containing delimiters

    Hope that helps.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts