[Kolab-devel] Kolab XML specification

Steffen Hansen steffen at klaralvdalens-datakonsult.se
Thu Apr 21 13:26:21 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.

regards
-- 
Steffen Hansen          |       Klarälvdalens Datakonsult AB
Senior Software Engineer|       http://www.klaralvdalens-datakonsult.se
                        |
                        |       Platform-independent
                        |       software solutions




More information about the devel mailing list