[Kolab-devel] Updated Kolab WebClient

Jan Schneider jan at horde.org
Tue Aug 26 10:43:21 CEST 2003


Zitat von Stuart Bingë <list at codefusion.co.za>:

> On Tuesday, 26 August 2003 09:28, Adriaan Putter wrote:
> > Stuart Bingë wrote:
> > > Note to Kolab KDE Client developers: Mnemo requires a memo-id and a
> > > category (which are currently stored in X-MemoID and X-Category
> headers,
> > > respectively) for each message - when viewing/modifying the memos in
> the
> > > KDE client these extension headers are stripped when re-saved,
> meaning
> > > that the category information is lost when viewing them in the web
> > > interface. Any suggestions as to possible solutions?
> >
> > how do you read the existing notes into the web front end?
>
> When reading existing memos (i.e. those created by the Kolab KDE Client,
> etc)
> where the extension headers that we've added don't exist, we just use
> defaults for things like the memo category (eg. "Unfiled"). The Memo ID
> that
> mnemo uses seems to be a sequential integer, so all that we do when
> loading
> is read in the "valid" memos, then sequentially assign a new "memo id" to
> the
> invalid memos starting from the highest valid memo id that we read, plus
> one.

This is correct, but while looking at the code that generates the id, it
looks to me as if this code might get broken pretty easily. Essentially the
id has to be unique, so you can generate your own how ever you like.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft




More information about the devel mailing list