Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wkazubski:KDE4
akonadi4-runtime
correctly-return-mimetypes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File correctly-return-mimetypes.patch of Package akonadi4-runtime
From 97a191a5df7b307c70e662996c4846d3d586ff61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Vr=C3=A1til?= <dvratil@kde.org> Date: Fri, 8 Sep 2017 17:09:54 +0200 Subject: LIST: correctly return mimetypes for all Collections LIST was only returning mimetypes for Collections that were resolved in the initial filter pass. All Collections that were resolved in the second pass to complete the tree were missing mimetypes, because their IDs were not passed to the mimetype query. This in included mainly Collections that don't match the initial mimetype filter, like top-level Collections. This caused, among other things, KMail to refuse to create Collections under the top-level Collection, because the top-level Collections did not match KMail's mimetype filter (inode/directory). BUG: 350219 FIXED-IN: 5.6.2 --- src/server/handler/list.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/handler/list.cpp b/src/server/handler/list.cpp index 2f0584a..bfe8c6b 100644 --- a/src/server/handler/list.cpp +++ b/src/server/handler/list.cpp @@ -428,6 +428,7 @@ void List::retrieveCollections(const Collection &topParent, int depth) mCollections.insert(missingCol.id(), missingCol); ancestorIds << missingCol.id(); attributeIds << missingCol.id(); + mimeTypeIds << missingCol.id(); //We have to do another round if the parents parent is missing if (missingCol.parentId() != parentId && !mCollections.contains(missingCol.parentId())) { missingCollections.insert(missingCol.parentId()); -- cgit v0.11.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor