[Kde-pim] Review Request: avoid the use of an undefined collection

Guy Maurel guy-kde at maurel.de
Tue Oct 11 18:26:36 BST 2011


Hello Kevin!

I found something that doesn't meet your prediction, please look under:
On Sunday, October 09, 2011 04:46:43 PM Kevin Krammer wrote:
> On Wednesday, 2011-10-05, Guy Maurel wrote:
> 
> > I see the problem at file
> > kdepimlibs/akonadi/specialcollectionshelperjobs.cpp at line 419:
> > q->emitResult();
...
> With the context you have provided (outboxqueue requesting outbox folder), I 
> did a bit of digging.
> 
> The code creating and running the DefaultResourceJob expects it either to 
> deliver all special collections it could find but at least the resource's top 
> level collection so it can create all missing ones.
> 
> Returning from DefaultResourceJobPrivate::collectionFetchResult() without an 
> error *and* without a valid top level collection violates that expectation.
> (A debug build should actually assert in 
> SpecialCollectionsRequestJobPrivate::createRequestedFolders(), 
I never got here!
Where should it comes from?
-- 
guy
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list