[Kde-pim] Newbie questions about Akonadi/KDEPIM codebase
Yury G. Kudryashov
urkud.urkud at gmail.com
Wed Nov 14 16:52:54 GMT 2012
Andras Mantia wrote:
> Hi,
> Yury G. Kudryashov wrote:
>
>> Q2. How should parts of KDE-PIM (resource, server, kmail) operate while
>> creating a folder? Which signals are sent/slots are called?
>
> I hope this explains what you want, for more exact details look up the
> code itself.
Thanks a lot for your help!
This part goes OK, including creating a folder on the server and receiving
"OK" from the server.
I've found two strange facts about the newly created collection:
1. The only mimetype is inode/directory. Who is responsible for setting the
mimetypes?
2. The remote identifier is "itest-folder" instead of ".test-folder". I
found nothing about "itest" in the logs. Any ideas?
`git grep "'i'"` and `git grep '"i"'` in kdepimlibs, akonadi and kdepim-
runtime gave me nothing relevant (or I missed something).
`git grep '"i%'` says something about etmviewstatesaver but it is about GUI,
not server/agent, isn't it?
Don't know if the following excerpt from akonadictl stderr helps.
> akonadi_imap_resource_3(30007)/kdepimlibs (kimap)
> AddCollectionTask::doStart: New folder: "test-folder"
> akonadi_imap_resource_3(30007)/libakonadi
> Akonadi::CollectionSync::Private::execute: void
> Akonadi::CollectionSync::Private::execute() localListDone: false
> deliveryDone: true
> akonadi_imap_resource_3(30007)/libakonadi
> Akonadi::CollectionSync::Private::execute: void
> Akonadi::CollectionSync::Private::execute() localListDone: true
> deliveryDone: true
> Error during executing query "INSERT INTO CollectionTable (remoteId,
> remoteRevision, name, parentId, resourceId, cachePolicyInherit) VALUES
> (:0, :1, :2, :3, :4, :5)" : "Duplicate entry '1073-test-folder' for key
> 'CollectionTable_parentAndNameIndex' QMYSQL3: Unable to execute statement"
> akonadi_imap_resource_3(30007)/kdepimlibs (kimap)
> RetrieveCollectionMetadataTask::doStart: ".test-folder"
--
Yury G. Kudryashov,
mailto: urkud.urkud at gmail.com
_______________________________________________
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