Page MenuHomekolab.org

akonadi LIST fails to insert mimetype and bails out
Closed, WontfixPublic

Description

It can happen that the LIST command tries to insert a mimetype (after it checked that it isn't already there), but then fails to insert because it was added meanwhile. This aborts the complete LIST job (which it wouldn't have to).
Other places that insert a mimetype for the collection are:
create.cpp, modify.cpp, akappend.cpp, append.cpp

Details

Ticket Type
Task

Event Timeline

mollekopf created this task.Apr 5 2016, 3:33 PM
Database "akonadi" opened using driver "QMYSQL" 
Error code: 1062
DB error:  "Duplicate entry 'message/rfc822' for key 'name'"
Agent instance created in separate process. 
akonadi_maildispatcher_agent(8999)/libakonadi Akonadi::DefaultResourceJobPrivate::resourceCreateResult: Created maildir resource with id "akonadi_maildir_resource_0"
AkonadiAgentServer(9020)/libakonadi Akonadi::CollectionSync::Private::execute: localListDone:  false  deliveryDone:  true
AkonadiAgentServer(9020)/libakonadi Akonadi::SessionPrivate::dataReceived: Server protocol version is: 44
Error text: "Duplicate entry 'message/rfc822' for key 'name' QMYSQL3: Unable to execute statement"
Query: "INSERT INTO MimeTypeTable (name) VALUES (:0)"
Error during insertion into table "MimeTypeTable" "Duplicate entry 'message/rfc822' for key 'name' QMYSQL3: Unable to execute statement" 
akonadi_mailfilter_agent(9001)/libakonadi Akonadi::EntityTreeModelPrivate::collectionFetchJobDone: Job error:  "Failed to create mimetype record" for collection: ()

This was triggered during an akonadi_initialsync execution.

mollekopf raised the priority of this task from 40 to 60.Apr 5 2016, 3:34 PM
mollekopf updated the task description. (Show Details)Apr 5 2016, 4:01 PM
vanmeeuwen lowered the priority of this task from 60 to Normal.Mar 28 2019, 8:12 AM
machniak closed this task as Wontfix.Tue, Jul 16, 11:43 AM
machniak claimed this task.
machniak added a subscriber: machniak.

Kolab support for KDE PIM is discontinued. Create a ticket on https://bugs.kde.org