Clear-Bible / ClearDashboard

The ClearDashboard project
Other
1 stars 2 forks source link

[BUG]: Collab: Exception thrown attempting to merge latest project changes: 'UNIQUE constraint failed: Lexicon_Lexeme.Lemma, Lexicon_Lexeme.Type, Lexicon_Lexeme.Language'. #1083

Open romanpoz opened 10 months ago

romanpoz commented 10 months ago

Description:

Exception thrown attempting to merge latest project changes: Unable to apply differences due to exception of type 'SqliteException': SQLite Error 19: 'UNIQUE constraint failed: Lexicon_Lexeme.Lemma, Lexicon_Lexeme.Type, Lexicon_Lexeme.Language'.

Steps To Reproduce:

Pre-Condition: Two users have the latest version of a shared collaboration project (zz_SUR - NIV). User1 - Owner User2 - ReadOnly

Steps to reproduce the behavior:

  1. User1: Import Lexicon for zzSUR (select "wu" - a single word is sufficient)
  2. User1: Save Changes to Shared Project.
  3. User2: Import Lexicon for zzSUR, selecting the same word as in Step 1. (to local project only)
  4. User2: Get Latest Project Updates

Expected Results:

The Lexicon_Lexeme record (and related Lexicon records, eg Translation) imported by User2 remain unchanged.

Actual Results:

Additional Details:

Found in Version:

1.2.0.18 DEV branch DEBUG build

Fixed in Version:

1.3.0.2

Test Cases:

(Linked Test Cases)

romanpoz commented 9 months ago

Test Passed - in 1.3.0.2