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
Description
Description
Details
Details
- Ticket Type
- Task
Event Timeline
Comment Actions
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.