[Kde-pim] issues inserting/retrieving collection from akonadi
Volker Krause
vkrause at kde.org
Wed Oct 21 08:12:57 BST 2009
On Wednesday 21 October 2009 04:46:24 Alan Alvarez wrote:
> 2009/10/13 Volker Krause <vkrause at kde.org>
>
> > On Tuesday 13 October 2009 15:25:20 Alan Alvarez wrote:
> > > The code is in svn trunk in the openchange resource. You would need a
> > > MS exchange server to be able to test it though.
> > >
> > > I get the same results with akonadiconsole. Except in akonadi console
> > > the header information (to:n from:)never shows. In mailody it shows,
> > > until you click on the item, at which point it disappears from the
> > > screen.
> >
> > Does this also happen when using another resource, eg. a local maildir?
> > If yes
> > it's probably an ETM bug and we should be able to reproduce (and fix) it
> > here. If not it's likely a problem on how message parts are delivered by
> > exchange (fetching the body does not include the headers again I guess?)
> > and
> > how the serializer deals with that.
> >
> > regards
> > Volker
> >
>
> Apparently it does have to do with the serializer. I'm getting the
> following error:
> akonadiconsole(12005)/akonadiserializer (mail)
> Akonadi::SerializerPluginMail::deserialize: Akonadi KMime Deserializer: Got
> invalid envelope: ()
> akonadiconsole(12005)/libakonadi Akonadi::ItemSerializer::deserialize:
> Unable to deserialize payload part: "ENVELOPE"
> akonadiconsole(12005)/akonadiserializer (mail)
> Akonadi::SerializerPluginMail::deserialize: Akonadi KMime Deserializer: Got
> invalid envelope: ()
> akonadiconsole(12005)/libakonadi Akonadi::ItemSerializer::deserialize:
> Unable to deserialize payload part: "ENVELOPE"
> akonadiconsole(12005)/akonadiserializer (mail)
> Akonadi::SerializerPluginMail::deserialize: Akonadi KMime Deserializer: Got
> invalid envelope: ()
> akonadiconsole(12005)/libakonadi Akonadi::ItemSerializer::deserialize:
> Unable to deserialize payload part: "ENVELOPE"
Brad showed this bug to me during the meeting, and my theory as well is that
this is a serializer bug. On body retrieval you do not report the mail
headers again AFAIU, which apparently causes the serializing code to delete
the header part from the Akonadi cache.
> I'm trying to find where the deserializer plugin for for rfc822 messages to
> look through the code and see if I can spot something special.
>
> From what I can tell, I'm adding the headers in the same Mailody does. This
> is what I based my code when I first wrote it and from what I can see much
> hasn't changed there either. I'd appreciate if you guys could guide me to
> where the code for the deserializer is so I can go through it, or help my
> in any other way you see fit.
The serializer plugin is in kdepim/akonadi/plugins. The bug might as well be
generic though, possibly in the classes ItemSerializer and/or ItemModifyJob
in libakonadi.
regards
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20091021/146b2a8f/attachment.sig>
-------------- next part --------------
_______________________________________________
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