[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdepim] 4ac272c: Print the storage collection id before crashing.
From: Sergio Martins <iamsergio () gmail ! com>
Date: 2011-01-16 12:20:31
Message-ID: 20110116122031.9ADB3A6090 () git ! kde ! org
[Download RAW message or body]
commit 4ac272ca62bb845ec0285a9cc16330752872f607
branch master
Author: Sergio Martins <iamsergio@gmail.com>
Date: Sun Jan 16 12:20:08 2011 +0000
Print the storage collection id before crashing.
diff --git a/calendarsupport/calendar.cpp b/calendarsupport/calendar.cpp
index e33e2b4..d4fcdef 100644
--- a/calendarsupport/calendar.cpp
+++ b/calendarsupport/calendar.cpp
@@ -322,8 +322,10 @@ void Calendar::Private::updateItem( const Akonadi::Item &item, \
UpdateMode mode ) if ( m_uidToItemId.value( ui ) != item.id() ) {
kDebug()<< "item.id() = " << item.id() << "; cached id = " << \
m_uidToItemId.value( ui ) << "; item uid = " << ui.uid
- << "; calendar = " << q
- << "; existed in cache = " << existedInUidMap;
+ << "; calendar = " << q->objectName()
+ << "; existed in cache = " << existedInUidMap
+ << "; storageCollection.id() = " << item.storageCollectionId() // the \
real collection + << "; parentCollection.id() = " << \
item.parentCollection().id(); // can be a virtual collection
Q_ASSERT_X( false, "updateItem", "uidToId map disagrees with item id" );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic