diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2010-09-02 11:54:36 +0200 |
---|---|---|
committer | Patrick Ohly <patrick.ohly@intel.com> | 2010-09-08 13:44:55 +0200 |
commit | 9db07a66a712e050db38d2f75550c148239bc5a3 (patch) | |
tree | b2b9f6f1eb5e4e31b4c456c6609cd8cb5b838ec5 /NEWS | |
parent | 4e72438e8f7ee56ab875fcb28999293e82366854 (diff) |
Nokia phones: avoid data loss in two-way sync due to X-EVOLUTION-UI-SLOT (MBC #2566)
Sending the X-EVOLUTION-UI-SLOT parameter to a Nokia phone when
updating an existing contact confuses the phone such that it drops the
phone number or email that had the parameter; the initial import was
okay. Reported for Nokia N81, E72, root-caused on a N97 mini.
Sending the X-EVOLUTION-UI-SLOT has very little value except when
talking to another SyncEvolution instance. All other SyncML peers
are expected to simply ignore the parameter, so there is no point
in sending it in the first place.
This is the solution implemented in this patch. A "rule" parameter
of the <parameter> element that defines X-EVOLUTION-UI-SLOT declares
that the parameter is to be ignored when parsing or generating vCards,
except when the peer is known to be SyncEvolution.
A remote peer is detected by the new 00_syncevolution.xml remote rule.
Locally, the parameter needs to be enabled when talking to Evolution
(evolution.xml) or to files which can also store the parameter
(all.xml). The later case is important for a SyncEvolution HTTP server
with file storage.
Running "./client-test Client::Sync::vcard30::testItems" against such
a SyncEvolution server confirmed that without all.xml, the
X-EVOLUTION-UI-SLOT got lost, which also confirms that the rule
mechanism works.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions