[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/libkcal
From:       Till Adam <adam () kde ! org>
Date:       2005-06-08 17:16:11
Message-ID: 1118250971.671125.10662.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 423505 by tilladam:

Output a stern warning, but don't bail out, if an ical restriction is
vialoted. This can easily happen when a todo has no start date, for
example, which while common and sensible, is illegal according to the
ical spec.


 M  +5 -2      icalformat.cpp  


--- trunk/KDE/kdepim/libkcal/icalformat.cpp #423504:423505
@@ -471,15 +471,18 @@
   }
 
   kdDebug(5800) << "ICalFormat::parseScheduleMessage() restriction..." << endl;
-
+  
   if (!icalrestriction_check(message)) {
+    kdWarning(5800) << k_funcinfo << endl << "libkcal reported a problem while \
parsing:" << endl; +    kdWarning(5800) << Scheduler::translatedMethodName(method) + \
": " + mImpl->extractErrorProperty(c)<< endl; +    /*
     setException(new ErrorFormat(ErrorFormat::Restriction,
                                    Scheduler::translatedMethodName(method) + ": " +
                                    mImpl->extractErrorProperty(c)));
     delete incidence;
     return 0;
+    */
   }
-
   icalcomponent *calendarComponent = mImpl->createCalendarComponent(cal);
 
   Incidence *existingIncidence =


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic