nag history entries: solution?

"Nik Van den Wijngaert" <[email protected]> Mon, 5 Dec 2005 14:27:42 +0100
Newsgroups gmane.comp.horde.nag
Message-ID <[email protected]>
Dear group,

As a follow up to my previous post:
It seems that the _add function in \Driver\sql.php returns the TaskID, which
is then used in the add function in Driver.php as the TaskUID...

In the other applications, the creation of an item is logged in the history
in the _add function in sql.php. Perhaps the same should be true for Nag?

Thanks,
Nik.

________________________________________
From: Nik Van den Wijngaert [mailto:[email protected]] 
Sent: Monday, December 05, 2005 10:55 AM
To: '[email protected]'
Subject: nag history entries

Dear Nag community,

I'm running the latest CVS builds, and trying to sync my Horde apps with
other devices (SyncML).
What I've noticed is, that while the other apps (Mnemo, Turba, Kronolith)
enter the new UID (e.g., kronolith:user:20051205093339.5cxt3p65mq8s@domain)
in the History tables, Nag enters the older IDs in the History.

In the sync steps, entries are searched for in the history table and mapped
to entries in the nag table. Due to a mismatch in keys (IDs in the history,
trying to be mapped to UIDs in the nag table), new task additions are not
sent back from the server.
Is this a known problem? I've noticed that on Nag's Driver.php, around line
332, the History log entry is created. Does this bit of code need to be
updated?

Thanks,
Nik.

-- 
Nag mailing list - Join the hunt: http://horde.org/bounties/#nag
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]