View Issue Details

IDProjectCategoryView StatusLast Update
0003122SOGo Integratorpublic2015-03-06 14:43
Reporterdani Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platform[Client] MicrosoftOSWindowsOS Version7
Product Version31.0.0 
Summary0003122: Some characters in email labels break sync between TB and SOGo
Description

I'm running latest SOGo server (2.2.16) on CentOS 6 x86_64. I have clients running Thunderbird 31.5.0 with the latest extensions (connector and integrator, both 31.0.1). Everything is working great, but I have a problem with email label synchronization.

When I create a label on SOGo, it's synced back in Thunderbird at its next startup, but there are some characters which breaks this (looks like accentuated chars are responsible). When this occurs, not only this new label isn't synced to Thunderbird, but all labels are gone from Thunderbird.

Strangely enough, the problem only occurs if there's an accent during the initial sync. If you create a label without any accent, start Thunderbird (Thunderbird now have the new label), then rename the label to add some accent, then restart Thunderbird, everything is working

Steps To Reproduce

Create a new email label on SOGo web interface, use at least one accentuated character in the label name (like bär)

Start Thunderbird: all your email labels are gone :-(

In the console, I got this error which seems related:

Horodatage : 06/03/2015 15:30:42
Erreur : mal formé
Fichier Source : moz-nullprincipal:{00348dba-83eb-46cf-a2a4-e17271d3dd26}
Ligne : 2, Colonne : 414
Code Source :
<D:multistatus xmlns:a="urn:inverse:params:xml:ns:inverse-dav" xmlns:D="DAV:"><D:response><D:href>/SOGo/dav/dani/Mail</D:href><D:propstat><D:status>HTTP/1.1 200 OK</D:status><D:prop><n1:mails-labels xmlns:n1="urn:inverse:params:xml:ns:inverse-dav" xmlns:D="DAV:"><n1:label color="#FF0000" id="$label1">Important</n1:label><n1:label color="#FF9900" id="$label2">Travail</n1:label><n1:label color="null" id="b&aoq-r">bär</n1:label><n1:label color="#009900" id="$label3">Personnel</n1:label><n1:label color="#3333FF" id="$label4">À faire</n1:label><n1:label color="#993399" id="$label5">Peut attendre</n1:label></n1:mails-labels></D:prop></D:propstat></D:response></D:multistatus>

It looks like "ä" has been escaped to "&aoq-" (in ID) and to "bär" (in node content) which breaks XML

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2015-03-06 14:43 dani New Issue