sillsdev/languageforge-lexbox

Sync dialog showing -1 changes from FieldWorks to FW Lite

Open

#1,875 opened on Aug 1, 2025

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C# (6 forks)auto 404
Good first issue💻 FW Lite

Repository metrics

Stars
 (7 stars)
PR merge metrics
 (PR metrics pending)

Description

Describe the bug I synced sena-3 with Lexbox local, then did a project reset to upload a new .zip file with more commits in it. (Rather than doing a normal hg push operation, but it was the same project with the same root, so it should have been identical in result to doing an hg push).

Result was that the sync dialog showed "minus one" commit available in FieldWorks to sync locally:

This is probably because there's a subtraction that's backwards in the calculations the sync dialog does, either on the frontend or backend side.

To Reproduce Steps to reproduce the behavior:

  1. Repro coming as soon as I can figure out consistent steps

Expected behavior I would expect all numbers in the sync dialog to be positive.

Contributor guide