Re: [Evolution-hackers] X-LIC-ERROR in tasks
- From: Dan Winship <danw novell com>
- To: Sarfraaz Ahmed <asarfraaz novell com>
- Cc: evolution-hackers lists ximian com
- Subject: Re: [Evolution-hackers] X-LIC-ERROR in tasks
- Date: Thu, 17 Jun 2004 11:10:46 -0400
On Thu, 2004-06-17 at 17:45 +0530, Sarfraaz Ahmed wrote:
> "X-LIC-ERROR;X-LIC-ERRORTYPE=VALUE-PARSE-ERROR:No value for STATUS \n
> property. Removing entire property"
>
> This error is generated by libical-parser.
>
> If the user performs an operation [ modify this property or delete
> this task ], the backend popups a message saying, this is not a valid
> object.
Hm. You're sure that it's because of that line? It seems to me like e-
cal-backend-exchange-tasks.c would just ignore any properties that it
didn't recognize.
> I wanted to know if there is a ical-method that would help me clean up
> my cache
> whenever the backend encounters such a corrupted property. I guess, i
> need some method that would fetch that particular object from the
> server and over-write the object in the cache.
I don't know if there's any API to make it either not add the error
message, or to automatically strip it out.
But e-cal-backend-exchange-calendar.c has some example code of how to
iterate through the X- properties (eg, add_vevent().), so you could just
do that, and if you find one with an x_name of "X-LIC-ERROR", call
icalcomponent_remove_property.
-- Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]