NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: MyBrainIsFull on March 29, 2016, 07:59:49 PM
-
Re NTUG-93 Alejandro had an issue with the disconnected desktop
I have compiled the Capesoft example with 9.06 and it still has the bug, if you delete the servers data and do a sync it is not inserting or updating
The bug
in PrimeParameters routine using JSON the SyncCloud_Action is set to 'insert' but the lines below
If json.GetPropertyValue('SyncCloud_Action',1) <> ''
SyncCloud_Action = json.GetPropertyValue('SyncCloud_Action',1) !!! sets it back to 'sync'
--------------
then AutoService:SyncCloud is called where sync is not part of the case statement. ie no insert
-
Just confirming Alejandro's comment, the Disconnected Desktop was working in 901 and I just tested 902, its broken.
by working I mean the client can send an update to the server and the server will update its record.
K
-
Hi Kevin,
I've tested the example here with 9.07, and it seems ok.
However it's worth noting;
>> if you delete the servers data and do a sync it is not inserting or updating
If you delete the server's data (ie delete the tables off the disk) then a simple sync will not resend all the client-side data.
It's designed to "send changes" so "old stuff" is not resent.
There is a button on the client sync window "Force Send All Data" which you can click, and that seems to send all the data as designed.
Cheers
Bruce
-
Please note Bruce, I am not up to DELETES yet, I had troubles adding and changing.
With 9-01 it all worked.
K