6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/26/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12523] AS: mix of unix timestamp and modseq breaks sync
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ . , ..__ .___. [__) \./ |[__) | | \ | \__|| |
Comment
>>> Importer::importMessageDeletion() will still write time() to >>> $change['mod'], >>> Driver::changeMessage() is not used in this code path. Or is it? >>> >>> I'm 99% sure it will go wrong though I haven't tested the new code yet. >> >> Eh. You are right of course. I have no idea what I was looking at >> when I said that =) > > :) > > We should replace the time() call in importMessageMove(), too. > Even though moving groupware objects is currently unsupported, > it will be a PITA to debug in the future if we ever support it. > >>> Sorry, I think I misread this somehow. The last time I read it, >>> the state update was before the moveMessage() call :) >>> >>> UPDATE: I think I understand why I confused it: The importMessageDeletion() >>> _first_ updates the state and then does the deletion. In case the >>> "backend" deletion >>> times out, the state is already updated. Is that intentional? >> >> Reading my comments, it seems like I did it on purpose, but to be >> honest, I'm not sure that the points I make are really necessary. >> I'll have to revisit this. > > I'll have a look at the git history tomorrow, too. > May be there's a hint in there. > >>> I've grepped the codebase for 'mod' usage and found >>> two other places that look "interesting". Would be nice >>> if you could check them for correctness: >> >> Both of those are used during foldersyncs, not collection syncs. For >> folder syncs, the only change we care about for an existing folder is >> a change in the name of the folder. We don't track folder name >> changes in history, so the only way to know it has changed is to >> compare the client's version of the name and the server's version of >> the name. We use the name as the 'mod' value since it's the only >> thing that changes with regard to a folder name. > > Thanks for checking! > > Thomas
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers