Remote changes not applied on second sync
See original GitHub issueI am using SQLite localling and syncing to SQLServer over http from Win Forms Classic. The initial database exists locally and is correctly created.
var s1 = await agent.SynchronizeAsync(progress);
await agent.LocalOrchestrator.UpdateUntrackedRowsAsync();
s1 = await agent.SynchronizeAsync(progress);
In an attempt to get more details I added the following interceptor however it is not hit
agent.RemoteOrchestrator.OnDatabaseChangesApplied(args =>
{
listBox1.Items.Add($"--------------------------------------------");
listBox1.Items.Add($"Changes applied to the remote database:");
listBox1.Items.Add($"--------------------------------------------");
listBox1.Items.Add(args.ChangesApplied);
});
I noticed the source is empty in some of my logging (options set to SQL)
50%: [] ChangesApplying HttpGettingResponseMessageArgs: HttpGettingResponseMessageArgs
Is it possible to interrogate the Response Message Args? or am I missing a trick here?
Additionally we have an iOS product with the same code calling the same api which works.
Issue Analytics
- State:
- Created a year ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Two remote repositories out of sync (non-fast-forwards error)
A bare repository has no working tree, no checked out branch or commit and therefore nothing to pull into. Note, that a pull...
Read more >Sync with a remote Git repository (fetch, pull, update)
Find out how to sync your GoLand project with a remote git repository: fetch and pull changes, update a branch or the whole...
Read more >Git: "Sync changes" Button is always shown when "Commit ...
The main reason behind the change to the "Sync Changes" button was that given that the auto fetch is disabled by default, there...
Read more >Syncing your branch in GitHub Desktop
You can sync your local branch with the remote repository by pulling any commits that ... To apply changes to your branch from...
Read more >How to Create and Sync Git and GitHub Repositories
You use that remote repository to create your local repository so you can make and test changes locally. With the two repositories in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Did you tried the last beta version
0.9.8on the server side where I put a lot of details in the error message ?Let me know if you have something new
Thanks, we have put it to one side now as the .NET Core version worked but we will revisit the Classic .net Winforms example later.