- Problem: A recurring “Duplicate cells found” error page in the editor blocks the Burmese team from accessing verses, creating a loop that halts translation progress.
- Context: All Burmese team members see this overlay in the Burmese project, and it reappears immediately after navigating back to the chapter. Unclear checkmark/X prompts prevent resolving the issue, leaving them stuck.
Description
Some books show a "Duplicate cells found" screen instead of the chapter text. This happens because a few section-heading cells got copied — the file ends up with two identical cells that share the same ID.
The cause is the migration that gives every cell a unique ID. It creates each ID by hashing the old ID, so the same input always produces the same output. If a heading already exists twice in the file (once with an old-style ID, once already
converted), running the migration again turns the old one into the exact same ID as the converted one — so now there are two identical cells.
This shows up mostly in Genesis, Exodus, Leviticus, Numbers, and Deuteronomy, because those books have section headings that went through this conversion.
Steps to Reproduce
- Open a freshly cloned/synced copy of the project (so migrations run again).
- Open an affected book, e.g.
DEU.codex.
- Click forward in the chapter navigation to the first chapter with a duplicated heading (Deuteronomy 3).
- The "Duplicate cells found" screen appears instead of the chapter.
Expected Behavior
- Running the ID migration never creates two cells with the same ID.
- If a heading already exists in both old and new ID form, the migration keeps just one copy.
- Every chapter opens normally.
Actual Behavior
- The migration gives the old-style heading the same ID as the already-converted one, creating an exact duplicate.
- Nothing cleans this up afterward, so the duplicate gets saved and synced.
- The editor blocks the chapter with "Duplicate cells found".
Acceptance Criteria
Test Checklist
Description
Some books show a "Duplicate cells found" screen instead of the chapter text. This happens because a few section-heading cells got copied — the file ends up with two identical cells that share the same ID.
The cause is the migration that gives every cell a unique ID. It creates each ID by hashing the old ID, so the same input always produces the same output. If a heading already exists twice in the file (once with an old-style ID, once already
converted), running the migration again turns the old one into the exact same ID as the converted one — so now there are two identical cells.
This shows up mostly in Genesis, Exodus, Leviticus, Numbers, and Deuteronomy, because those books have section headings that went through this conversion.
Steps to Reproduce
DEU.codex.Expected Behavior
Actual Behavior
Acceptance Criteria
Test Checklist