[Korganizer-devel] [Bug 183807] Crash on switching between Summary and To-do within Kontact

Sergio Martins (ld50) iamsergio at gmail.com
Wed Feb 11 16:09:44 CET 2009


http://bugs.kde.org/show_bug.cgi?id=183807


Sergio Martins (ld50) iamsergio gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vkrause at kde.org
         AssignedTo|korganizer-devel at kde.org    |kevin.krammer at gmx.at
          Component|general                     |KResource compat bridges
            Product|korganizer                  |Akonadi




--- Comment #11 from Sergio Martins (ld50) <iamsergio gmail com>  2009-02-11 16:09:43 ---
Here's the problem, both Summary and Calendar component of kontact call
KOrg::StdCalendar::self()->load() that will call ResourceAkonadi::doLoad().

Resource::Akonadi::doLoad() closes the calendar resource before loading,
freeing incidences that are being used.

===================================================================
--- resourceakonadi.cpp (revision 924721)
+++ resourceakonadi.cpp (working copy)
@@ -763,7 +763,7 @@

   // clear local caches
   d->mInternalCalendarModification = true;
-  d->mCalendar.close();
+ // d->mCalendar.close();
   d->mInternalCalendarModification = false;

   d->mItems.clear();


Although this fixes the problem I don't know if ResourceAkonadi::doLoad()
should/shouldn't close the calendar.


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


More information about the Korganizer-devel mailing list