Re: [Evolution-hackers] error in generated vcalendar + error reading changed tasks/events



On Tue, 2005-03-08 at 07:10 +0100, Armin Bauer wrote:
> Hi,
> 
> i discovered two bugs:
> 
> The first one is in the way evo2 generates vcalendars:
> 
> Categories get generated as:
> CATEGORIES:Birthday\,Business
> 
> but it should be (taken from http://www.ietf.org/rfc/rfc2445.txt):
> CATEGORIES:MEETING,PROJECT

It appears the rfc is contradicting itself in the examples, see 4.3.11.
That shows the "text" grammar type to need escaping of commas and
CATEGORIES is of this type, as well:

   The "TEXT" property values may also contain special characters that
   are used to signify delimiters, such as a COMMA character for lists
   of values or a SEMICOLON character for structured values. In order to
   support the inclusion of these special characters in "TEXT" property
   values, they MUST be escaped with a BACKSLASH character. A BACKSLASH
   character (US-ASCII decimal 92) in a "TEXT" property value MUST be
   escaped with another BACKSLASH character. A COMMA character in a
   "TEXT" property value MUST be escaped with a BACKSLASH character
   (US-ASCII decimal 92). A SEMICOLON character in a "TEXT" property
   value MUST be escaped with a BACKSLASH character (US-ASCII decimal
   92).  However, a COLON character in a "TEXT" property value SHALL NOT
   be escaped with a BACKSLASH character.Example: A multiple line value
   of:


> The second one is that when i add several tasks/events, request them via 
> e_cal_get_changes, delete all of them and request again using 
> e_cal_get_changes the returned GList will contain more items than delete 
> d and the additional items look like random memory locations. I attached 
> the code that produces this result. I took a look at the bug database 
> and there are quite some bugs which reporting crashing etc when deleting 
> tasks/events, so maybe this is related.

Probably unrelated, but it might help against some pilot bugs.  What is
the exactly version you are coding against?

-JP
-- 
JP Rosevear <jpr novell com>
Novell, Inc.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]