On 25.09.2014, at 08:43, Patrick Ohly wrote:
> [...]
> Would this "save state" include resetting the sync anchor?
No.
> I can't think
> of any other way how the server could avoid duplicates, because it
> cannot know whether the client has added the items and if so, under
> which ID... except t
Hi Patrick,
On 24.09.2014, at 17:33, Patrick Ohly wrote:
> Let me pick your brain for a second... :-)
It has gotten a bit rusty as far as sync is concerned. But I'll try :-)
> When SyncEvolution runs a local sync (i.e. both client and server are
> provided by SyncEvolution) and the sync gets a
Hello Patrick,
the patch is fine, anyway!
Regarding differences between blob and string when it comes to compare
On 14 Jul 2014, at 20:10, Patrick Ohly wrote:
>> My first question would be why PHOTO was defined "string" here, not "blob"?
>
> I changed that in this commit:
>
> [...]
>
> Unf
Hello Patrick,
On 11 Jul 2014, at 15:27, Patrick Ohly wrote:
> I'm currently investigating why a comparison of two PHOTO fields of
> different length returns "field equal". PHOTO is defined as:
>
>
My first question would be why PHOTO was defined "string" here, not "blob"?
> I think the
Hello Patrick,
On 12.05.2014, at 12:55, Patrick Ohly wrote:
> What's the intended behavior of suppressempty for arrays?
>
>"suppressempty": This optional boolean value. can be set to true if
> this property must
>never be sent empty (without values). This is the case for most
Hello Patrick,
the [+x] syntax in scripts was added only to replicate the old field-offsetting
parsing/generating modes (which in turn originate from the time when
libsynthesis had no array fields at all) in the script language.
On 07.05.2014, at 20:20, Patrick Ohly wrote:
> compare="co
On 05.05.2014, at 14:42, Patrick Ohly wrote:
>>> Now, the conceptual problem with "X-ABLabel parameter" is that a quoted
>>> string cannot contain double quotes. It is probably rare that a user
>>> enters double quotes as part of a label, but it cannot be ruled out
>>> either. Line breaks are als
Hello Patrick,
On 02.05.2014, at 13:44, Patrick Ohly wrote:
> Exactly, that's what I need and get with the patch.
>
> [...]
>
>>> That means that the check has to be "LABEL[0] does not exist".
>>
>> Yes. Fortunately, TItemField differentiates between empty and unassigned;
>> the check needs
Hello Patrick,
On 02.05.2014, at 10:38, Patrick Ohly wrote:
>> What do you mean by "independent" properties?
>
> For example, ADR and TEL are independent in the sense that their values
> are stored in different field arrays. Sharing the LABEL field for the
> new parameter creates a dependency (
Hello Patrick,
On 30.04.2014, at 19:10, Patrick Ohly wrote:
>> What you have here is probably the most elaborate profile ever
>> specified for libsynthesis :-) , but I see no reason why it should not
>> work once the is correct.
>
> That's what I had tried earlier. It leads to the situation wh
I haven't yet fully understood what the exact goal of your test is, but if you
just want to hammer your server with SyncML requests, maybe you can replay
previously recorded requests (from SyncEvolution or another client) with a
script. Of course you'd need to use a 100% repeatable sync for that
Hello Patrick,
On 30.04.2014, at 15:19, Patrick Ohly wrote:
> Live and learn. Or use the source, Luke ;-)
:-)
> The logic for choosing a position must now also (or instead?!) check
> whether the LABEL position is unused when adding a new ADR. In other
> words, when parsing an ADR, look at LABE
Hi Sachin,
if what you need is just a lot of pure SyncML clients to run against your
server, you might consider using my former employer's free SyncML DEMO client
(see http://www.synthesis.ch/dl_client.php?bp=CLI&pv=&vtag=13).
Apparently it hasn't been touched since I left there 2010, and it's
Hi Patrick,
you are faster in understanding the details than I could look them up :-)
Yes, again I should have noticed, but I lack the daily sync practice...
Every property that can occur multiple times, i.e. maps to a series of
side-by-side fields or array fields, needs the tag to specify how
Hi Patrick,
> Unfortunately I am not getting the group-tag field populated. I'm
> attaching my field list and profile.
small oversight on my and your part :-)
The attribute to be added to is called "groupfield", not
"grouptag"...
I did not spot this in your previous mail, only now.
Best Rega
On 26.04.2014, at 21:11, Patrick Ohly wrote:
> On Sat, 2014-04-26 at 12:30 +0200, Lukas Zeller wrote:
>> The afterread/beforewrite script could do such a conversion as well,
>> however for normalizing data these are executed too late on the server
>> side for normalized da
Hi Emiliano,
On 26.04.2014, at 12:31, Emiliano Heyns wrote:
> Hello! Where do I find more on these scripts? This could be very interesting
> for me.
The script language is documented in the libsynthesis config reference, see
http://cgit.freedesktop.org/SyncEvolution/libsynthesis/tree/doc/SySy
Hello Patrick,
On 25.04.2014, at 21:47, Patrick Ohly wrote:
> [...]
>
> The bigger problem will be on the Evolution side. I don't see how I can
> teach libsynthesis that a IMPP entry whose protocol (encoded as part of
> the value!) is xmpp maps to X-JABBER.
I see no direct way either.
> Shoul
Hi Anuj,
On 25.04.2014, at 11:12, Anuj wrote:
> While doing sync with server I observed that server is sending a dev inf and
> my evolution client is changing the behaviour according to servers dev inf
> for further sync sessions.
I guess so, because that's the whole point in devInf - allow
Hello Patrick,
On 11.04.2014, at 12:18, Patrick Ohly wrote:
> Google CardDAV and iOS/OS X use group tags to represent custom labels in
> vCards. Attached is an example. Note that the Google vCard format used
> by CardDAV is not the same as the one used by Gmail's export feature.
> The example is
in turn calls
TSyncSession::newDevInf() where the basic info is filled in, and then
newLocalCTCapList() and newDevInfDataStoreList() are called to create the
datastore and CTCap lists.
Best Regards,
Lukas Zeller, plan44.ch
l...@plan44.ch - www.plan44.ch
signature.asc
Description: Messag
Hi Rajesh,
On 13.03.2014, at 11:23, Rajesh Kumar Pawar wrote:
> mimeprofile:
> [...]
>
>
> [...]
As I said, these multi-token enums will never work. You cannot map multiple
tokens to a bit.
You map single tokens like "WORK", "INTERNET", "PREF", "VOICE", "
Hi Sachin,
please have a look at my answer to Rajesh (just a few minutes ago on the
mailing list), this is closely related.
Basically, "HOME,VOICE" is *not* a single enum value, but a list of two
separate enums, "HOME" and "VOICE".
The "bitmap" and "multimix" mapping modes in libsynthesis suppo
switch off the special high-numbered sync modes used in
SyncEvolution.
Best Regards,
Lukas Zeller
signature.asc
Description: Message signed with OpenPGP using GPGMail
___
os-libsynthesis mailing list
os-libsynthesis@synthesis.ch
http://lists.synthe
Hi Rajesh,
On 12.03.2014, at 11:00, rajesh kumar pawar wrote:
> I am working to customize the Syncevolution and am facing issues with
> combination of TYPE parameters.
>
> The problem I am facing is that the syncevolution is not producing
> FLAGS or the Bitmap values for the instances where the
Hi Sachin,
On 06.03.2014, at 20:13, Sachin Gupta wrote:
> How can i set the xml of libsynthesis so that the outgoing devinf shows the
> displayname and also the datatype?
displayName is not supported so far in libsynthesis. The routines to look at
for adding it would be the newDevInfCTData()
ncEvolution (disabled by default).
Best Regards,
Lukas Zeller
signature.asc
Description: Message signed with OpenPGP using GPGMail
___
os-libsynthesis mailing list
os-libsynthesis@synthesis.ch
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis
Hello Anuj,
On 27.02.2014, at 13:20, anuj chauhan wrote:
> I am trying to send a higher value for "Max Occour" for Note field,
May I ask for the context of this? I've never seen vCards with more than one
NOTE field in the wild, so I'm curious why you'd want a MaxOccur of 200? It
might be easi
th database,
content types etc., it will appear as a in the devInf.
Best Regards,
Lukas Zeller, plan44.ch
l...@plan44.ch - www.plan44.ch
signature.asc
Description: Message signed with OpenPGP using GPGMail
___
os-libsynthesis mailing list
os-lib
Hello Anuj,
as Patrick said, contacts grouping is not standardized.
One way to do map it is using the CATEGORIES field of vCard, and make a
category for each group. That's how I do it in my iOS clients since 2008. Some
servers support that, some others don't.
Best Regards,
Lukas
On 27.01.20
> REV
>
>
>
> 1
> 2
> 3
> 4
> 5
> 6
> 7
>
>
>
>
> Setting
> 16
>
> text/xml
> 1.0
>
>
> text/xml
> 1.0
>
>
> t
Hi Anuj,
On 23.01.2014, at 13:24, anuj chauhan wrote:
> Do you know how to remove a tag for a proerty from output dev inf xml
> for Example
> REV
> 1
>
> i do not want MaxOccur tag with property REV ,then how do i achieve it.
MaxOccur is set when the mapping of the property to the internal fi
Hi Anuj,
On 23.01.2014, at 13:34, anuj chauhan wrote:
> I wanted to know how to add the Ext field/property so that it gets
> communicated to the Server via DevInf.
>
> SynchronizeGroup
> X-CT
>
>
> I was going through the reference documents and the sample xmls, but was not
> su
Hello Patrick,
your analysis is (as always :-) straight to the point - a circular dependency.
I first thought maybe you could run the preflight earlier, but then I found the
note in binfileimplds saying "Don't call before types are ok (we need
TSyncItems)". That's the real problem, because chec
e mappings with a custom version, you can use
, see 11.34.41.1 in the manual.
Something along the lines of:
...
...
Best Regards,
Lukas Zeller
signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Hi Sachin,
On 20.01.2014, at 08:09, Sachin Gupta wrote:
> How can i set the maxsize limit for a "Note" field in vcard.
> I want the note field to be limited to 25 for my application.
>
> Even after setting the size=25,
where did you set the size=25?
It must be in the tag.
> then also it doe
Hello Patrick,
I'm picking the detail I can quickly answer right now :-)
On 05.07.2013, at 11:58, Patrick Ohly wrote:
> [...]
> I broke MERGEFIELDS() when introducing that mode, see attached patch. It
> is now still not backward-compatible. Is there a way to have a builtin
> function with an op
Hello Patrick,
On 04.07.2013, at 12:01, Patrick Ohly wrote:
> I just noticed one aspect of the example configs that I wasn't aware of:
> syncclient_sample_config.xml: compare="never" merge="fillempty"/>
>
> [...]
>
> What was the rationale for using that mode for PHOTO? Is it for storage
e: I expect similar issues when the server delays
> processing because of timing.
Probably not, because the server can only delay processing at the very
beginning of the sync, while it loads the sync set in the background. So far,
this was the only (but well tested with
onally reset when a new message starts
processing.
Depending on the changed order of events when executing commands in different
order, that's probably not sufficient logic.
Best Regards,
Lukas Zeller
___
os-libsynthesis mailing list
os-libsynthesis@synthesis.ch
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis
Hello Patrick,
FinalizeLocalID came into existence as a workaround for the iOS client
datastores, in particular the address book which did not generate proper IDs
until a very expensive "save all" method was called. I tried to implement it as
generically as possible, but avoiding any extra risk
and will update master eventually.
> BTW, did you tag 3.4.0.47? There is a comment about the version, but not
> the tag itself.
I tagged it, but forgot to push the tag to gitorious, sorry for that. Done now.
Best Regards,
Lukas Zeller
___
os-libsy
Hi Zhoulei,
On 13.12.2012, at 04:57, zhou lei wrote:
> You may have a try on this. Find out the log file name is quite hard there. I
> try to send the file, but can only find the tmp/sysynclogs, and this is a
> file path, i have no permission to do things on it. If can compress the log
> file
Hi Zhoulei,
can you create a syncML engine detail logfile? That would probably show what
goes wrong.
If you are using the latest code from git and do a debug build, log generation
into tmp/sysynclogs should be enabled, so you can just get the logs from there
(see c6bbe8cb2c (iOS sample app: c
patch (on gitgub, luz):
8226bd4988 (SyncModeExtensions: added config flag that
must be set in config to enable non-standard sync modes to be added into
config. This is because some servers fail to work when non-standard modes are
present, so by default they are off now.)
Lukas Zeller, plan44
w...
> If yes, then I would rebase onto your latest code first. I held back
> with that because I wanted to release 1.3 with minimal changes.
luz_rebased is a candidate for master, you can take that, or create your
own rebased version, whateve
above?
Yes, I guess that could be added as an option. To make it clean, a application
using that options should make sure a switch back to "two way" also forces a
slow sync; otherwise the resulting state could be out of sync (changes left on
one si
upported in the RR_xxx model and vCalendar 1.0. Which IMHO is specifically
BYSETPOS lists in conjunction with a single entry BYDAY (like in the RRULE from
the original posting).
Best Regards,
Lukas Zeller
___
os-libsynthesis mailing list
os-libsynthesis@synthesis.ch
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis
volution anyway?
I'm just wondering if reducing the message size could reliably fix that Error
511 problem - and if so how small the message size should be.
Best Regards,
Lukas
Lukas Zeller, plan44.ch
l...@plan44.ch - www.plan44.ch
___
os-
Hi Patrick,
Just changing getSyncStateAlertCode() call with the second argument set to
false does the same trick. Because that second parameter switches between
"simplified" (true) and "standard conformant" (false) client alert codes
already.
uInt16 alertCode = getSyncStateAlertCode(fServerA
On 07.06.2012, at 12:43, Andris Pavenis wrote:
> On 06/07/2012 01:31 PM, Lukas Zeller wrote:
>> [...]
>> -#define CONSOLE_PRINTF_VARARGS(_m, _args...) fprintf(stderr, "SYSYNC " _m,
>> ##_args)
>> +#define CONSOLE_PRINTF_VARARGS(_m, _args...) fprintf(s
Hi Andris,
thanks for the patch. However, the SMLERRPRINTFX() macro, like all debug output
macros across the entire library, is supposed to output a linefeed by itself.
It also actually does so in my builds of libsynthesis, so if the LFs are
missing in your output, it must be something along th
Hi Patrick,
On 30.05.2012, at 14:57, Patrick Ohly wrote:
> [...]
> Speaking of that master branch: Lukas, there are some other bug fixes
> that you might want to merge back.
I'm about to - right now testing my builds with all recent patches combined -
will push it probably tomorrow.
Best Regar
Hi Andris,
On 29.05.2012, at 09:26, Andris Pavenis wrote:
> On 05/25/2012 03:53 PM, Lukas Zeller wrote:
>> As I did not get SyncML TK output I attached yesterdays captured data which
>> contains 2 sessions:
>> - the first got response with auth challenge but is otherwi
On 25.05.2012, at 11:45, Andris Pavenis wrote:
> The help string for configure option --enable-debug-logs says that the option
> is --debug-logs.
>
> Andris
>
> <0001-Fix-configure-option-enable-debug-logs-help-string.patch>
Thanks! It's now on gitorious/luz
Lukas
__
Hi Andris,
On 25.05.2012, at 13:04, Andris Pavenis wrote:
>> By default, libsynthesis does not output console messages, but you can set
>> the config variable "conferrpath" to "console" to have it on stdout or
>> specify a file path for storing the console messages.
> It does not seem to work.
On 24.05.2012, at 12:59, Andris Pavenis wrote:
> On 05/24/2012 11:08 AM, Lukas Zeller wrote:
>>> It responds according with authentication to WireShark. Try using WireShark
>>> on capture file and decode port 9321 as HTTP.
>> Yes, I see that, but I can't find the
Hi Andris,
On 24.05.2012, at 08:33, Andris Pavenis wrote:
>> I don't see any authentication in the incoming messages, not in the XML
>> translation and also not when looking at hexdumps of the WBXML. The only
>> thing I see is the test, but that's not enough for an auth
>> attempt, there must
Hi Andris,
On 21.05.2012, at 15:43, Andris Pavenis wrote:
> Tried to test whether synchronization works with Xperia-S own SyncML client
> (comes with Android 2.3.7 installed on phone, software version 6.0.A.3.73)
> using custom libsynthesis based SyncML server.
>
> - the first problem was chun
Hello Patrick,
On Apr 25, 2012, at 15:11 , Patrick Ohly wrote:
> I am trying to solve one issue in SyncEvolution: when trying to find
> pairs, it needs to know on a per-datastore basis whether both remote and
> local storage have truly unique UID/RECURRENCE-ID that can be relied
> upon (iCalendar
ssion objects must be kept around between HTTP requests until the
entire session completes or is aborted).
The opensource SyncEvolution project has done this, however SyncEvolution has
quite some complexity of its own so I don't know how easy it would be to use
the HTTP transport code from SyncE
omplex mapping needed for the iOS address
book which can hold a variable number of TELs for each contact and has custom
labels and IDs.
Best Regards,
Lukas Zeller
___
os-libsynthesis mailing list
os-libsynthesis@synthesis.ch
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis
Hi Zhoulei,
On Mar 31, 2012, at 11:12 , zhou lei wrote:
> I try to modify "ReadItemAsKey". Using SetValue to set the contacts, and i
> just guess that "read" mean read the local contacts and send them to server.
Exactly. The terms in the plugin are all meant towards the database.
> But with th
Hi Zhoulei,
On Mar 29, 2012, at 5:45 , zhou lei wrote:
> In the configure XML file, I set the datastore name to "contacts" which is
> named "test_contacts" before. And in it, change the displayname to
> "contacts", set the plugin_module to "iPhone_dbplugin1" which is named
> "SDK_textdb". Is t
Probably because of the XML error, the engine never gets as far to instantiate
the plugins.
Best Regards,
Lukas Zeller, plan44.ch
l...@plan44.ch - www.plan44.ch
___
os-libsynthesis mailing list
os-libsynthesis@synthesis.ch
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis
module. Must i using the session?
All you need to do is filling actual DB access code into the methods in
sample_dbplugin1.mm that have a comment with //%%% todo, starting with
startDataReadWithLastToken.
The wrapper code handles all the rest, instantiates the module and database
contexts, a
gsKey.h for all available access methods). Note that this is the
same mechanism as for accessing settings, and you'll find examples for
SettingsKey usage in the sample iOS app.
Best Regards,
Lukas Zeller, plan44.ch
l...@plan44.ch - www.plan44.ch
___
he key to link the datastore in the config to the app. So for
the sample app which uses TextDB based contacts, it must be 2001 everywhere.
The 1001 used in MainViewController.m was a bug, sorry for that.
Best Regards,
Lukas
Lukas Zeller, plan44.ch
l...@plan44.ch - www.plan44.ch
___
os-libsynthesis mailing list
os-libsynthesis@synthesis.ch
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis
ur at all).
Best Regards,
Lukas
Lukas Zeller, plan44.ch
l...@plan44.ch - www.plan44.ch
___
os-libsynthesis mailing list
os-libsynthesis@synthesis.ch
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis
Hi Patrick,
looks ok to me except that readConnectHost() should also be updated to avoid
change of semantics (must still return host:port).
Best Regards,
Lukas
On Mar 7, 2012, at 14:36 , Patrick Ohly wrote:
> On Tue, 2012-03-06 at 20:19 +0100, Lukas Zeller wrote:
>> Hi Patrick,
k search hasn't brought up
> anything, though.
So far, splitURL is used only internally (rarely in libsynthesis, as its main
use was in the transport layers of the old monolithic clients), and was not
exposed as script function.
Best Regards,
Lukas Zeller, plan44.ch
l...@plan44
Hi Patrick,
On Feb 13, 2012, at 14:35 , Patrick Ohly wrote:
> Instead of repeating myself, let me quote the commit messages of the
> relevant commits on that branch below. There are a few more commits in
> that branch. Lukas, what do you think?
Thanks for these patches (the one with firstReadNe
Hello Patrick,
sorry for the late answer. I've been on a business in Germany last week and as
usual, stuff has piled up in my inbox.
Digging though the case for a while, I suddenly realized that in client case
the implProcessItem() method used is the one in binfileimplds.cpp and not the
one in
On Oct 25, 2011, at 16:32 , Patrick Ohly wrote:
> On Tue, 2011-10-25 at 15:46 +0200, Lukas Zeller wrote:
>> But if the superdatastore was changed from probing with ReadItem to
>> directly probing/deleting with DeleteItem, the error reporting would
>> look similar, as it woul
he error reporting would look similar, as it
would show failed deletes for those subdatastores not containing the object in
question.
I mean, for deleting a todo from the calendar superdatastore item you'd see
something like "calendar: failed deleting item xy" and "todo: delete
4 in a delete and not reporting that to the user as an
> error, compared to not reporting a 404 in a ReadItem call (as I have to
> do now).
Now I don't understand. Why do you have to *not* report a 404 in ReadItem now??
Best Regards,
Lukas Zeller, plan44.ch
l...@plan44.ch - www.plan
y default, but can
be overridden in plugin datastores to return true.
Best Regards,
Lukas Zeller, plan44.ch
l...@plan44.ch - www.plan44.ch
___
os-libsynthesis mailing list
os-libsynthesis@synthesis.ch
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis
e you are using to write that to disk.
Plain fwrite should work, but not fputs for example, as this stops at the first
0x00 encountered.
Best Regards,
Lukas
> 2011/9/26 Lukas Zeller
> Hello Roger,
>
> the code looks fine, exactly the way I am doing it to get the PHOTO data in
&g
Hello Roger,
On Sep 22, 2011, at 16:48 , Roger KeIrad wrote:
> is there a way in RRULE property to mention the occurence value of an event
> cause always we get the End fields that indicate until date ?
> i take that exemple :
>
> Daily for 10 occurrences:
> D1
o a
file, any image viewer program should be able to show it.
Best Regards,
Lukas
Lukas Zeller, plan44.ch
l...@plan44.ch - www.plan44.ch
___
os-libsynthesis mailing list
os-libsynthesis@synthesis.ch
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis
Hello Roger,
On Sep 16, 2011, at 16:28 , Roger KeIrad wrote:
> hello,
> any help please?
> thanks in advance.
There are a number of GetValueXXX variants. GetValue() is only for single
values.
For arrays, you need to use GetValueByID(), which has a arrIndex parameter. To
get the ID for a name
Hello Andris
On Sep 16, 2011, at 13:32 , Andris Pavenis wrote:
> Attempted to use attribute minshow but it did not help even if empty phone
> number of the same type (TEL_FLAGS:8) was present.
Did you look at the vCards produced by libsynthesis? Can you paste one here?
I had a E90 as my main p
Hi Andris,
if you can reproduce this, could you please run it with logging enabled, so
that I could have a look at the full session log? That would help to find the
cause for this strange behaviour.
Best Regards,
Lukas
On 15.09.2011, at 15:34, Andris Pavenis wrote:
> Found that libsynthesi
On Sep 12, 2011, at 14:16 , Patrick Ohly wrote:
> On Sa, 2011-09-10 at 12:32 +0200, Lukas Zeller wrote:
>> Hello Patrick,
>>
>> On Sep 7, 2011, at 14:53 , Patrick Ohly wrote:
>>
>>> SyncEvolution's ActiveSync backend uses the sync anchor passed into
>
nc_config_reference 10.3.7,
approx page 84) to force the engine to produce empty fields in excess of the
number of stored values.
The problem is that the handling of empty properties is highly client specific
(from crashing, to ignoring them, to interpreting them to actually wipe
existing
Hi Patrick,
On Sep 12, 2011, at 20:33 , Patrick Ohly wrote:
> [...]
>
> So next is DB_Conflict = 409. The merge+update itself works. It seemed
> to go down a similar code path as 207, but didn't crash.
Makes sense now according to the bug you found with deleting augmentedItemP.
With 409, augme
so far, including
this one now.
Best Regards,
Lukas
>From d649138efc02e959cb1197a58afa7a6b5c1e959f Mon Sep 17 00:00:00 2001
From: Lukas Zeller
Date: Thu, 15 Sep 2011 14:51:18 +0200
Subject: [PATCH] engine: fixed bad object delete case (Patrick found it) -
SendDBVersionOfItemAsSe
ould do is allow StartDataRead to return 508 error code to have
the engine reset sync anchors before bailing out, such that the next session
would become a slow sync.
Would that solve the problem?
Best Regards,
Lukas
Lukas Zeller, plan44.ch
l...@plan44.ch - www.plan44.ch
Hello Patrick,
On Sep 8, 2011, at 9:59 , Lukas Zeller wrote:
> PS: I'm in the code now :-)
Done, but not tested beyond not interfering with normal operation in my context.
Here's the patch, I'm currently shuffling my repos around so I haven't pushed
it yet.
Best Reg
Hello Patrick,
On Sep 8, 2011, at 8:10 , Patrick Ohly wrote:
>> Status 207 is meant to indicate that the backend has added the item,
>> but in the process merged the add with some additional data (from an
>> external source, or another item in the sync set). So...
>
> What the backend really did
end can return it when it detects that the added data
>>> SHOULD
>>> be merged with what the backend already has, but can't do that
>>> itself.
>>>
>>> * the engine would do the same things as (details see commit msg
>>> in the patch below) for 207 but additionally it would:
>>> * merge the incoming data with the data fetched from the backend
>>>with the localID returned from AddItem()
>>> * call UpdateItem() with the merge result in the backend
>>>
>>> Let me know what you think...
>>
>> That sounds like it would solve the problem.
>
> Is this something that you intend to work on or shall I give it a try
> myself?
I am confident I can do that tomorrow.
Best Regards,
Lukas
Lukas Zeller, plan44.ch
l...@plan44.ch - www.plan44.ch
___
os-libsynthesis mailing list
os-libsynthesis@synthesis.ch
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis
:-)
I just pushed your patch (and some other updates) to the libsynthesis repo.
Lukas
Lukas Zeller, plan44.ch
l...@plan44.ch - www.plan44.ch
___
os-libsynthesis mailing list
os-libsynthesis@synthesis.ch
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis
Hi Patrick,
On 24.08.2011, at 15:20, Patrick Ohly wrote:
> On Fr, 2011-08-19 at 21:12 +0200, Patrick Ohly wrote:
>> Regarding comma handling in wildcard properties: I can reproduce that
>> the comma is getting duplicated. However, your patch doesn't help. I
>> need to look more closely before I c
y depends what you're up to do.
Best Regards,
Lukas Zeller
___
os-libsynthesis mailing list
os-libsynthesis@synthesis.ch
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis
for 207 but additionally it would:
* merge the incoming data with the data fetched from the backend
with the localID returned from AddItem()
* call UpdateItem() with the merge result in the backend
Let me know what you think...
Best Regards,
Lukas
ily leave client and server out of sync. But
> when assuming that the server does the same duplicate checking, it can
> only happen when a new item was added on the client during the sync
> (otherwise the server would have detected the duplicate).
Agreed. Technically, modifications happening *duri
l does not working with
> libsynthesis based server (and seems that I'll have to give
> up in attempts to get it working).
:-( What kind of other obstacles did you run into with that client?
Best Regards,
Lukas
Lukas Zeller, plan44.ch
l...@plan44.ch - www.plan44.ch
__
pport resume (in
particular, the flag field in the ID mapping table), which was always the case
for SyncEvolution, IMHO.
Best Regards,
Lukas Zeller, plan44.ch
l...@plan44.ch - www.plan44.ch
___
os-libsynthesis mailing list
os-libsynthesis@synthesis.ch
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis
Hello Andris,
I haven't fully understood your scenario yet. I see that your server has 4
items which apparently, at some time, have existed on the client (otherwise,
there would be no RemoteID known at the server's end). In the sync you are
running however, these items for some reason don't exi
On Jul 22, 2011, at 16:08 , Patrick Ohly wrote:
> On Fr, 2011-07-22 at 15:41 +0200, Lukas Zeller wrote:
>> Hi Patrick,
>>
>> On Jul 22, 2011, at 15:00 , Patrick Ohly wrote:
>>
>>> I couldn't think of cases where avoiding binary encoding might have a
&
1 - 100 of 262 matches
Mail list logo