sillsdev / sillsdev/languageforge-lexbox

Sync dialog showing -1 changes from FieldWorks to FW Lite

Open
#1,875 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

💻 FW Lite Good 1st issue
Dominant language
C#
Stars
9
Forks
8
Avg merge
2d 13h
Merged PRs (30d)
49

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:

Image

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

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by turning the reported FieldWorks/FW Lite and Lexbox reset sequence into consistent reproduction steps, since the issue says they are still pending. Then trace the sync dialog's change-count calculation on the frontend and backend; done means the dialog reports non-negative numbers for the reproduced case and matches the expected sync state.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
distributed-systems, full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.