NetTalk Central

Author Topic: Disconnected Desktop - reminder for Bruce  (Read 4476 times)

MyBrainIsFull

  • Full Member
  • ***
  • Posts: 134
    • View Profile
Disconnected Desktop - reminder for Bruce
« 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



« Last Edit: March 29, 2016, 09:13:26 PM by MyBrainIsFull »

MyBrainIsFull

  • Full Member
  • ***
  • Posts: 134
    • View Profile
Re: Disconnected Desktop - reminder for Bruce
« Reply #1 on: April 04, 2016, 07:48:20 PM »
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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Disconnected Desktop - reminder for Bruce
« Reply #2 on: April 18, 2016, 12:13:31 AM »
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


MyBrainIsFull

  • Full Member
  • ***
  • Posts: 134
    • View Profile
Re: Disconnected Desktop - reminder for Bruce
« Reply #3 on: April 18, 2016, 12:29:48 AM »
Please note Bruce, I am not up to DELETES yet,   I had troubles adding and changing.

With 9-01 it all worked.

K