[sync] Horde EAS: FolderIDs change after resync

Michael J Rubinsky mrubinsk at horde.org
Mon Jan 1 20:42:33 UTC 2018


Correct. Horde generates random folderids for server folders. ZPush  
actually does the same, though they use a "permanent storage" driver  
to persist these mappings tied to username/deviceid so they appear  
deterministic.

A SyncState of 0 indicates a virgin state - the device is assumed to  
know nothing and is to be treated as if it is being synchronized for  
the first time. Since EAS is not designed to sync already existing  
data from the client to server during this initial sync, there really  
is no change in functionality here.

However, I wouldn't be against refactoring some things to store the  
folder hierarchy as part of the device data (as opposed to the state  
data). I already have some refactoring planned for how that data is  
stored and looked up. No idea when I'll have the time for this, but  
feel free to create an enhancement request so it stays at the top of  
my radar...



Quoting GMX <john.bieling at gmx.de>:

> Hello,
>
> I run into a horde specific behavior, which I do not see with  
> microsoft EAS or zpush. I am the developer of the TbSync EAS client  
> for Thunderbird.
>
> If - for whatever reasons - i have to resync the folder hierachy by  
> resetting the synkey to 0, i get back a complete new list of  
> FolderIDs.
>
> If the user has local changes in one of his folders, i no longer  
> know, which folderID these changes belong to and have to drop them  
> (which is bad). The only option i have is to identify the folder by  
> its name, but that is not save as well.
>
> Is there a specific reason, why horde is doing that? Can the horde  
> user change that behavior in his horde options? Am I missing  
> something else?
>
> Thanks for your help
> John
>
> --
> sync mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: sync-unsubscribe at lists.horde.org



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 9272 bytes
Desc: PGP Public Key
URL: <https://lists.horde.org/archives/sync/attachments/20180101/49b81ad8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 821 bytes
Desc: PGP Digital Signature
URL: <https://lists.horde.org/archives/sync/attachments/20180101/49b81ad8/attachment-0001.bin>


More information about the sync mailing list