6.0.0-beta1
7/5/25

[#8487] Problem on getActionByTimeStamp in turba api
Summary Problem on getActionByTimeStamp in turba api
Queue Turba
Queue Version Git master
Type Bug
State Resolved
Priority 2. Medium
Owners mrubinsk (at) horde (dot) org
Requester ryu (at) ryux (dot) org
Created 08/11/2009 (5807 days ago)
Due
Updated 01/13/2010 (5652 days ago)
Assigned 08/12/2009 (5806 days ago)
Resolved 08/12/2009 (5806 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
01/13/2010 12:10:20 AM CVS Commit Comment #6 Reply to this comment
Changes have been made in Git for this ticket:

Don't return the first history entry, make sure it's the most recent 
one. Ticket: 8487 Submitted By: ryu (at) ryux (dot) org

http://git.horde.org/diff.php/turba/lib/Api.php?rt=horde-git&r1=1384a4a59894e9b48cb82ffaf3e57b778c76e91e&r2=6179ac2e1fd3c1d07b7c3d8176e3aa9071c547ad
08/12/2009 08:28:11 PM ryu (at) ryux (dot) org Comment #5 Reply to this comment
Committed to master and FW_3, thanks!
With pleasure !



See you soon on an other bug fix :)
08/12/2009 03:16:59 PM Michael Rubinsky Comment #4
Taken from Jan Schneider
State ⇒ Resolved
Reply to this comment
Committed to master and FW_3, thanks!
08/12/2009 02:59:34 PM Michael Rubinsky Comment #3 Reply to this comment
Doesn't your patch just duplicate the logic in
Horde_History::getActionTimestamp()?
Eh...nevermind, I see what's happening now. My apologies :)
08/12/2009 02:56:49 PM Michael Rubinsky Comment #2
State ⇒ Feedback
Reply to this comment
Doesn't your patch just duplicate the logic in 
Horde_History::getActionTimestamp()?
08/12/2009 09:38:56 AM Jan Schneider Assigned to Michael Rubinsky
Assigned to Jan Schneider
State ⇒ Assigned
 
08/11/2009 07:01:51 AM ryu (at) ryux (dot) org Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Problem on getActionByTimeStamp in turba api
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ Yes
New Attachment: 0001-fix-ticket-8483.patch Download
State ⇒ Unconfirmed
Reply to this comment
This is a new ticket for the #8483 
(http://bugs.horde.org/ticket/8483). I create a new because the 
precedent was in SyncML queue, but this is a turba problem...



The problem is :



Contact deleted from mobile after sync because of a move into a new 
addressbook.

This is the getActionByTimestamp turba api method which loop on 
addressbook and return the first result instead of loop on all 
addressbook and result the best result...



I attach a fix to this post for this bug. (This patch is for git version)



Thanks for comments.

Saved Queries