[Bug 229073] New: Does not sync when no events in google callendar

Petr Kolesnikov petr at kolesnikov.eu
Mon Mar 1 21:36:49 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=229073

           Summary: Does not sync when no events in google callendar
           Product: Akonadi
           Version: 4.4
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Google Resource
        AssignedTo: savagobr at yahoo.com
        ReportedBy: petr at kolesnikov.eu
                CC: vkrause at kde.org, kdepim-bugs at kde.org


Version:            (using KDE 4.4.0)
OS:                Linux
Installed from:    Ubuntu Packages

I found interesting think about akonadi's googledata module. When the google
calendar does not contain any event, syncing fails. There was used assumption
there has to be at least one event.

It starts working after I had added one event.

Problematic code part:
          /* GCalendar returns last updated entry as first element */
          event = gcal_event_element(&all_events, 0);
          if (!event) {
                kError() << "Failed to retrieve last updated event.";
                const QString message = i18nc("@info:status",
                                        "Failed getting last updated"
                                        " event.");
                emit error(message);
                emit status(Broken, message);
                return;

          }

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list