[Kolab-devel] Kolab XML specification

Andreas Gungl a.gungl at gmx.de
Thu Apr 21 13:39:42 CEST 2005


> On Thursday 21 April 2005 11:15, Andreas Gungl wrote:
> > > > Till, IMO there is no need to dig into Kontact. The constellation
> > > > I've
> > > > shown is coming from the Kolab resource manager. IMHO it would be
> > > > sufficient to keep <uid>==<subject> while <scheduling-id> keeps
> > > > the original <uid>. It seems that the resource manager swaps
> > > > <uid> and <scheduling-id> which makes Horde (and maybe also
> > > > Toltec) going crazy.
> > >
> > > Ah, thanks. Steffen, can you check?
> >
> > resmgr.php in Beta 3 reads (line 1194):
> >
> >     $headers = &new MIME_Headers();
> >     $headers->addHeader("From", $resource);
> >     $headers->addHeader("To", $resource);
> >     $headers->addHeader("Subject", $sid);
> >     $headers->addHeader("User-Agent", "proko2/resmgr");
> >     $headers->addHeader("Reply-To", "");
> >     $headers->addHeader("Date", date("r"));
> >     $headers->addHeader("X-Kolab-Type",
> > "application/x-vnd.kolab.event"); $headers->addMIMEHeaders($message);
> >
> >
> > Shouldn't it be like this:
> >
> >     $headers->addHeader("Subject", $uid);
> 
> Ok, I have to check if it makes any difference. resmgr.php _also_ uses 
> the subject to locate events, so I need to fix this in a couple of 
> places.
> 
> Where is the ScheduldingID/UID thing documented again? I could only find 
> "The subject of the mail must be set to the UID of the object." in 
> doc/kolab-formats/overview.sgml.

Exactly, but you're setting the subject to the scheduling-id in the code
shown above. This looks like the actual bug to me, everything else should be
fine then. But hey, you're more in the details than me. ;-)

Andreas

-- 
+++ GMX - Die erste Adresse für Mail, Message, More +++

1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail




More information about the devel mailing list