This is a space where the community of Twproject users can ask for support, explanations,
and also vote up or down questions, answers and feature requests.
>> Back to Twproject 's site.

Hi,

I have the ics integrated in Thunderbird Lightning, but it won't load the calendar with the errorcode:

CAL_UTF8_DECODING_FAILED

When I open the downloaded file, the characters seem to be encoded in Latin-1. Did this change with a recent update?

I'm using version 5.3.59500.59500


Edit:

The Connector in server.xml is as followed:

<Connector port="8080" protocol="HTTP/1.1" 
           connectionTimeout="20000" 
           redirectPort="8443"
           URIEncoding="UTF-8" />

So far all UTF-8 characters in the web interface show fine and the pages are served correctly with:

Content-Type: text/html;charset=utf-8

Only the ICS has this Content-type: (without utf-8?)

Content-Type: text/html

asked Nov 06 '13 at 10:17

Nuramon's gravatar image

Nuramon
72

edited Nov 06 '13 at 12:50


It is a bug.

You will find the patch here: THIS PATCH APPLIES ON TW 5.3.59500 ONLY

http://twproject.s3.amazonaws.com/temp/AgendaInIcalServlet.class

stop Teamwork, make a backup of the existing file, then replace it on

[...]/WEB-INF/classes/com/twproject/agenda folder

restart Teamwork.

Let me know if this solves your issue.

answered Nov 11 '13 at 05:12

Roberto's gravatar image

Roberto ♦♦
4014

works perfectly, thank you! :)

(Nov 11 '13 at 05:26) Nuramon

Are you running in https or http?

In both cases check that tomcat configuration file server.xml has URIEncoding="UTF-8" in connector section (http or https depending you case)

answered Nov 06 '13 at 10:55

Roberto's gravatar image

Roberto ♦♦
4014

just http; I'm using a proxy, but the calendar ics has the same headers and content when I go for the tomcat server directly (<host>:8080). I updated the original post and added config and content-type headers.

(Nov 06 '13 at 12:52) Nuramon
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×8
×7
×5
×1

Asked: Nov 06 '13 at 10:17

Seen: 274 times

Last updated: Nov 11 '13 at 05:26

| Twproject faq | about | contact us | Twproject blog | Twproject documentation | feedback always welcome