Summary | Folder names with umlauts are not shown |
Queue | IMP |
Queue Version | 6.0.0 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | thomas.jarosch (at) intra2net (dot) com |
Created | 10/31/2012 (4643 days ago) |
Due | |
Updated | 11/07/2012 (4636 days ago) |
Assigned | 11/07/2012 (4636 days ago) |
Resolved | 11/07/2012 (4636 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Looking at the code change, my "wild guess" without ever looking at
the code was not so bad after all :)
State ⇒ Resolved
commit 9fcffbb592c90d9dbc2b2b0bcccf9c3c9ad692e9
Author: Michael M Slusarz <slusarz@horde.org>
Date: Tue Nov 6 20:53:39 2012 -0700
[mms] Fix determining subscribed mailbox list when not using
LIST-EXTENDED (
Bug #11608)..../Imap_Client/lib/Horde/Imap/Client/Socket.php | 3 ++-
framework/Imap_Client/package.xml | 2 ++
2 files changed, 4 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/9fcffbb592c90d9dbc2b2b0bcccf9c3c9ad692e9
State ⇒ Assigned
with the base LIST commands.
Traffic after re-login:
C: [LOGIN Command - username: admin]
S: 2 OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID LOGINDISABLED
AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5 COMPRESS=DEFLATE
ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS
NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ
THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE
CONDSTORE SCAN IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE URLAUTH] User
logged in
C: 3 LSUB "" "INBOX/*"
S: * LSUB (\HasChildren) "/" "INBOX/Blorf"
S: * LSUB () "/" "INBOX/Blorf/T&AOQ-st"
S: * LSUB () "/" "INBOX/Blupper"
S: * LSUB () "/" "INBOX/F&APY-bar"
S: * LSUB () "/" "INBOX/F&APY-be"
S: * LSUB () "/" "INBOX/Normaler"
S: * LSUB () "/" "INBOX/Sent"
S: * LSUB () "/" "INBOX/T&AOQ-st"
S: * LSUB () "/" "INBOX/T&AOQA5ADk-st"
S: 3 OK Completed (0.000 secs 10 calls)
C: 4 LSUB "" "user/*"
S: 4 OK Completed (0.000 secs 1 calls)
C: 5 LSUB "" "*"
S: * LSUB (\HasChildren) "/" "INBOX/Blorf"
S: * LSUB () "/" "INBOX/Blorf/T&AOQ-st"
S: * LSUB () "/" "INBOX/Blupper"
S: * LSUB () "/" "INBOX/F&APY-bar"
S: * LSUB () "/" "INBOX/F&APY-be"
S: * LSUB () "/" "INBOX/Normaler"
S: * LSUB () "/" "INBOX/Sent"
S: * LSUB () "/" "INBOX/T&AOQ-st"
S: * LSUB () "/" "INBOX/T&AOQA5ADk-st"
S: 5 OK Completed (0.000 secs 10 calls)
C: 6 LIST "" "INBOX/*"
S: * LIST (\HasNoChildren) "/" "INBOX/Aufgaben"
S: * LIST (\HasChildren) "/" "INBOX/Blorf"
S: * LIST (\HasNoChildren) "/" "INBOX/Blorf/T&AOQ-st"
S: * LIST (\HasNoChildren) "/" "INBOX/Blupper"
S: * LIST (\HasNoChildren) "/" "INBOX/Calendar of Thomas Jarosch"
S: * LIST (\HasNoChildren) "/" "INBOX/Contacts"
S: * LIST (\HasNoChildren) "/" "INBOX/F&APY-bar"
S: * LIST (\HasNoChildren) "/" "INBOX/F&APY-be"
S: * LIST (\HasNoChildren) "/" "INBOX/Normaler"
S: * LIST (\HasNoChildren) "/" "INBOX/Notizen"
S: * LIST (\HasNoChildren) "/" "INBOX/Sent"
S: * LIST (\HasNoChildren) "/" "INBOX/Spam"
S: * LIST (\HasNoChildren) "/" "INBOX/Spamverdacht"
S: * LIST (\HasNoChildren) "/" "INBOX/T&AOQ-st"
S: * LIST (\HasNoChildren) "/" "INBOX/T&AOQA5ADk-st"
-> "LSUB" lists all those folders with umlauts.
Very wild guess: As the subscribed folders with umlauts are not sent
to the client in the
AJAX folder list request, may be something goes wrong with the
internal bookkeeping on the server side. Like it has an array of
subscribed folders and the array key is sometimes the unencoded /
encoded / double-encoded modified-UTF-7 folder name. Just a guess
though :)
"normal" and one called "täst".
Looking at the data, the JSON data for "täst" contains a field called
"un" -> "1".
is true. Maybe that's your issue.
During my previous IMAP traces, I could also see that a folder with
umlaut get successfully subscribed after the creation.
State ⇒ Feedback
Still they don't get shown in the "subscribed folders" view on re-login.
Can verify that the mailbox is created/subscribed on the server:
C: 4 CREATE "t&AOQ-st"
S: 4 OK Create completed.
C: 5 SUBSCRIBE "t&AOQ-st"
S: 5 OK Subscribe completed.
A re-login shows this traffic:
C: 3 LIST (SUBSCRIBED) "" ("*" "#shared.*" "#public2.*") RETURN (SUBSCRIBED)
[...]
S: * LIST (\Subscribed) "." "t&AOQ-st"
[...]
S: 3 OK List completed.
"normal" and one called "täst".
Looking at the data, the JSON data for "täst" contains a field
called "un" -> "1".
true. Maybe that's your issue.
State ⇒ Assigned
an umlaut do not immediately appear. However, existing umlaut
mailboxes view fine.
Still they don't get shown in the "subscribed folders" view on re-login.
I've inspected the JSON output for the "Rebuild folder list" command
and they are not sent by the server.
I did another test and inspected the JSON output for a folder called
"normal" and one called "täst".
Looking at the data, the JSON data for "täst" contains a field called
"un" -> "1".
Is "un" for "unsubscribed"? The "un" field is not present for "normal".
State ⇒ Resolved
Version ⇒ 6.0.0
commit a1f338a7af943480f44f063a7835b4bc08078e32
Author: Michael M Slusarz <slusarz@horde.org>
Date: Wed Oct 31 14:15:14 2012 -0600
[mms] Fix double encoding of non-ASCII elements in
listMailboxes() (
Bug #11608)..../Imap_Client/lib/Horde/Imap/Client/Base.php | 7 +++--
.../Imap_Client/lib/Horde/Imap/Client/Socket.php | 25 ++++++-------------
framework/Imap_Client/package.xml | 2 +
3 files changed, 14 insertions(+), 20 deletions(-)
http://git.horde.org/horde-git/-/commit/a1f338a7af943480f44f063a7835b4bc08078e32
Assigned to Michael Slusarz
State ⇒ Assigned
umlaut do not immediately appear. However, existing umlaut mailboxes
view fine.
- The folder with umlaut shows up in the "Show all mailboxes view".
It does not show up in the subscribed folders only view, even
though it is subscribed.
- Even in the "Show all mailboxes view", the folder is not added to
the folder list on creation.
Folders with plain name get added immediately.
I still have the IMAP debug trace enabled and created a new folder
"INBOX/Föbe".
# grep -A 2 "F&" imap_debug.log
C: 3 LSUB "" "INBOX/F&-APY-be"
S: 3 OK Completed (0.000 secs 1 calls)
C: 4 LIST "" "INBOX/F&-APY-be"
S: 4 OK Completed (0.000 secs 1 calls)
C: 5 LSUB "" "INBOX/F&-APY-be"
S: 5 OK Completed (0.000 secs 1 calls)
C: 6 LIST "" "INBOX/F&-APY-be"
S: 6 OK Completed (0.000 secs 1 calls)
C: 7 CREATE "INBOX/F&APY-be"
S: 7 OK Completed
C: 8 SUBSCRIBE "INBOX/F&APY-be"
S: 8 OK Completed
C: 9 LIST "" "INBOX/F&-APY-be"
S: 9 OK Completed (0.000 secs 1 calls)
C: 10 LOGOUT
--
S: * LSUB () "/" "INBOX/F&APY-be"
S: * LSUB () "/" "INBOX/T&AOQ-st"
S: 10 OK Completed (0.000 secs 6 calls)
--
S: * LSUB () "/" "INBOX/F&APY-be"
S: * LSUB () "/" "INBOX/T&AOQ-st"
S: 12 OK Completed (0.000 secs 6 calls)
--
S: * LIST (\HasNoChildren) "/" "INBOX/F&APY-be"
S: * LIST (\HasNoChildren) "/" "INBOX/Notizen"
S: * LIST (\HasNoChildren) "/" "INBOX/Spam"
--
S: * LIST (\HasNoChildren) "/" "INBOX/F&APY-be"
S: * LIST (\HasNoChildren) "/" "INBOX/Notizen"
S: * LIST (\HasNoChildren) "/" "INBOX/Spam"
--
S: * LSUB () "/" "INBOX/F&APY-be"
S: * LSUB () "/" "INBOX/T&AOQ-st"
S: 3 OK Completed (0.000 secs 6 calls)
--
S: * LSUB () "/" "INBOX/F&APY-be"
S: * LSUB () "/" "INBOX/T&AOQ-st"
S: 5 OK Completed (0.000 secs 6 calls)
--
S: * LIST (\HasNoChildren) "/" "INBOX/F&APY-be"
S: * LIST (\HasNoChildren) "/" "INBOX/Notizen"
S: * LIST (\HasNoChildren) "/" "INBOX/Spam"
--
S: * LIST (\HasNoChildren) "/" "INBOX/F&APY-be"
S: * LIST (\HasNoChildren) "/" "INBOX/Notizen"
S: * LIST (\HasNoChildren) "/" "INBOX/Spam"
--
S: * LSUB () "/" "INBOX/F&APY-be"
S: * LSUB () "/" "INBOX/T&AOQ-st"
S: 3 OK Completed (0.000 secs 6 calls)
--
S: * LSUB () "/" "INBOX/F&APY-be"
S: * LSUB () "/" "INBOX/T&AOQ-st"
S: 5 OK Completed (0.000 secs 6 calls)
--
S: * LIST (\HasNoChildren) "/" "INBOX/F&APY-be"
S: * LIST (\HasNoChildren) "/" "INBOX/Notizen"
S: * LIST (\HasNoChildren) "/" "INBOX/Spam"
--
S: * LIST (\HasNoChildren) "/" "INBOX/F&APY-be"
S: * LIST (\HasNoChildren) "/" "INBOX/Notizen"
S: * LIST (\HasNoChildren) "/" "INBOX/Spam"
--
S: * LIST (\HasNoChildren) "/" "INBOX/F&APY-be"
S: * LIST (\HasNoChildren) "/" "INBOX/Notizen"
S: * LIST (\HasNoChildren) "/" "INBOX/Spam"
--
S: * LIST (\HasNoChildren) "/" "INBOX/F&APY-be"
S: * LIST (\HasNoChildren) "/" "INBOX/Notizen"
S: * LIST (\HasNoChildren) "/" "INBOX/Spam"
--
C: 3 SELECT "INBOX/F&APY-be"
S: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
S: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]
--
C: 4 MYRIGHTS "INBOX/F&APY-be"
S: * MYRIGHTS INBOX/F&APY-be lrswipkxtecda
S: 4 OK Completed
C: 5 LOGOUT
State ⇒ Feedback
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Summary ⇒ Folder names with umlauts are not shown
Type ⇒ Bug
Queue ⇒ IMP
I've just discovered that the dynamic and traditional view of IMP
ignore folders with umlauts in the name. Creating new folders with
umlauts works fine though.
The Kolab_Share driver also succesfully displays shares with umlauts
in the name.
Thomas