[#7019] ICS export make problems in some case
Summary ICS export make problems in some case
Queue Horde Framework Packages
Queue Version FRAMEWORK_3
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester yann (dot) richard (at) gmail (dot) com
Created 07/03/2008 (366 days ago)
Due
Updated 07/11/2008 (358 days ago)
Assigned 07/11/2008 (358 days ago)
Resolved 07/11/2008 (358 days ago)
Attachments kronolith_events.sql Download
event-utf8.txt Download
Milestone 2.2.1
Patch No

History
07/11/2008 Jan Schneider Comment #7
Taken from Jan Schneider
State ⇒ Not A Bug
Reply to this comment
We already check for it on test.php and explicitly mention it in the 
installation docs.
07/11/2008 yann (dot) richard (at) gmail (dot) com Comment #6 Reply to this comment
You're right It's caused by missing mbstring lib.

Can you include verification of prerequies lib ?

07/11/2008 Jan Schneider Comment #5
Queue ⇒ Horde Framework Packages
State ⇒ Feedback
Version ⇒ FRAMEWORK_3
Reply to this comment
I can't reproduce this. Either this has been fixed in Horde since the 
release of the version you use, or this is a local issue on your 
system. Do you have both the mbstring and iconv PHP extensions 
installed? Does it still happen if you replace lib/Horde/iCalendar.php 
with this version: 
http://cvs.horde.org/co.php/framework/iCalendar/iCalendar.php?r=1.57.4.63&p=1
07/11/2008 CVS Commit Comment #4 Reply to this comment
07/06/2008 Jan Schneider Milestone ⇒ 2.2.1
 
07/03/2008 Jan Schneider Assigned to Jan Schneider
State ⇒ Assigned
 
07/03/2008 yann (dot) richard (at) gmail (dot) com Comment #3
New Attachment: event-utf8.txt Download
Reply to this comment
Can you upload the event description separately in an utf-8 encoded 
text file?
Sure :)
07/03/2008 Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Can you upload the event description separately in an utf-8 encoded text file?
07/03/2008 yann (dot) richard (at) gmail (dot) com Comment #1
New Attachment: kronolith_events.sql Download
Patch ⇒
Milestone ⇒
Summary ⇒ ICS export make problems in some case
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Queue ⇒ Kronolith
Reply to this comment
My information:
****** Kronolith Version ******
     * Kronolith: H3 (2.2)
****** PHP Version ******
     * PHP Version: 5.2.6
     * PHP Major Version: 5.2
     * PHP Minor Version: 6
     * PHP Version Classification: release
     * You are running a supported version of PHP.
****** PEAR Modules ******
     * PEAR Search Path (PHP's include_path):  /applis/Internet/horde-webmail-
       1.1/lib:/applis/Internet/horde-webmail-1.1/lib/../pear
     * PEAR: Yes
     * Recent PEAR: Yes
     * Date: Yes
     * Date_Holidays: Yes
     * XML_Serializer: Yes

The SQL event cause invalid ICS file, the problem seems caused when 
utf8 chars present when kronolith inserts breakline in ICS file.

Reproduce:
   - SQL export of event: 
http://www.uhb.fr/campus/ze/bug-ics/kronolith_events.sql
who produce this invalid ICS file:
   - http://www.uhb.fr/campus/ze/bug-ics/richard_y.ics