Ticket #1484681 (closed Bugs: fixed)

Opened 9 months ago

Last modified 5 months ago

Creating a new folder w/a comma in its name confuses RC

Reported by: nickveys Owned by: robin
Priority: 5 Milestone: 0.1.1
Component: Client Scripts Version: 0.1-rc2
Severity: minor Keywords: folder create comma name
Cc:

Description

Roundcube 0.1RC2, to reproduce:

  1. Personal Settings -> Folders
  2. Create a new folder named "Comma, Folder" (w/o quotes)
    • It will appear to have created a folder correctly
  3. Return to Email screen
    • You will have folders "Comma" and " Folder".

Looking @ the IMAP store, I have a .Comma, Folder/ directory, so it appears to have created correctly, but accessing it is another story.

Attachments

#1484681.200711301604.patch (4.1 kB) - added by robin 9 months ago.
Always use array when subscribing folders.

Change History

Changed 9 months ago by nickveys

Poking around, appears to be broken down in the IlohaMail IMAP library's iil_C_ListSubscribed().

Changed 9 months ago by nickveys

Nope, happens before that... Seems to be at creation time, as soon as the page refreshes with the new folder there is a correctly created folder on the server and a subscription on the client to 2 bad folders.

Changed 9 months ago by robin

Always use array when subscribing folders.

Changed 9 months ago by robin

  • owner set to robin

Try the patch in file #1484681.200711301604.patch.

Changed 6 months ago by seansan

  • milestone set to 0.1.1

Review in 0.1.1

Changed 5 months ago by alec

  • status changed from new to closed
  • resolution set to fixed

Fixed in r1238 (with little fix for that patch)

Note: See TracTickets for help on using tickets.