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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


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.
_______________________________________________
Kdepim-bugs mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to