Bug 337497 - Fails to retrieve folders if there are sub-folders with same name
Summary: Fails to retrieve folders if there are sub-folders with same name
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Gmail resource (show other bugs)
Version: GIT (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-16 14:07 UTC by Emil Sedgh
Modified: 2014-07-16 14:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.13.90


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emil Sedgh 2014-07-16 14:07:52 UTC
Gmail resource fails to retrieve folders and their contents with this message:

akonadi_gmail_resource_0(26107) ImapResourceBase::onMetadataCollectionFetchDone: Failed to retrieve collection before RetrieveCollectionMetadataTask  "Hierarchical RID does not specify a unique collection"

This, apparently, happens when there are subfolders with the same name.
Comment 1 Daniel Vrátil 2014-07-16 14:39:22 UTC
Git commit 73a9b5f18ff3f76b3bd262252b79dfbcd37d827c by Dan Vrátil.
Committed on 16/07/2014 at 14:37.
Pushed by dvratil into branch 'KDE/4.14'.

Gmail resource: ignore the [Gmail]/Chats folder for now

Chats is a special folder, it's content is not owned by 'All Mail' folder
and does not work as a label either. This breaks sync for some reason, so
we disable the folder for now.

The folder is not exposed via IMAP by default, it has to be explicitly
enabled in Gmail web interface, and it contains preprocessed hangout
logs in the form of emails, which I don't see much use for in KMail
anyway.
FIXED-IN: 4.13.90

M  +9    -0    resources/gmail/gmailretrievecollectionstask.cpp

http://commits.kde.org/kdepim-runtime/73a9b5f18ff3f76b3bd262252b79dfbcd37d827c