Comments (5)
This is exactly the behaviour I mentioned earlier in one of my emails when I
was proposing to get more reliable address sync. This problem only occurs with
contacts having a postal address! The sync from server to phone seems to be OK.
But for some reason the contacts get synced back to the server (even if not
changed on the phone) and normally the phone numbers (and maybe other fields)
get erased on the server.
I think the reason for the unwanted sync from phone to server is located in the
method "private Contact loadItem(Cursor personCursor) throws SyncException" in
src/at/dasz/KolabDroid/ContactsContract/SyncContactsHandler.java. The method
loads all the necessary fields except addresses which lead to a different hash
code of the Contact object. That then triggers the unwanted sync.
I don't know why then the contact on the server gets messed up...
Original comment by [email protected]
on 26 May 2011 at 1:17
from kolab-android.
Messing up the original document could be a result of mixing up both writeXml
Methods. I'll have an look at it.
Original comment by [email protected]
on 27 May 2011 at 7:33
- Changed state: Accepted
from kolab-android.
Original comment by [email protected]
on 27 May 2011 at 2:57
- Changed state: Started
from kolab-android.
Should be better now. Won't close until more testing have been done.
Version 0.8 DOES NOT SUPPORT POSTAL ADDRESSES! But it should be preserved.
Original comment by [email protected]
on 24 Jun 2011 at 8:26
from kolab-android.
JUHU! Fixed! (in Version 0.8) Thanks for this very good example!
Original comment by [email protected]
on 28 Jun 2011 at 4:48
- Changed state: Fixed
from kolab-android.
Related Issues (20)
- Calendar Sync does not terminate HOT 4
- Broken with Android 4.x ? HOT 1
- Does not sync new entries when not watching "KolabDroid status" in settings HOT 2
- sync fails: at.dasz.KolabDroid.Sync.SyncException: Unable to find XML Document HOT 5
- repeated events shortened to 1 hour HOT 2
- Error while syncing calendar entry HOT 2
- Problem sharing contacts HOT 1
- Calendar events are synced to the server but they did not changed HOT 2
- calendar sync breaks with javax.mail.FolderClosedException error HOT 5
- Enhancement: Address editor redesign HOT 2
- Calendar Sync Crashes on Samsung Galaxy SIII HOT 2
- sync tasks as well
- On HTC Desire Sync contacts are not visible
- kolab-android does not interact with SyncKolab snapin for lightning
- Release ICS APK's HOT 5
- Crash when editing own addressbook entry
- Calendar events sync ONLY from Android to roundcubemail, not other way around.
- Account for exception dates with repeated events HOT 1
- All Synced contacts "(Unknown)" in Droid after first sync.
- Recurrence end date set to 1/1/1970
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kolab-android.