You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the term import fails if the same term is listed twice, e.g. in tests/features/term_import:
Scenario: Duplicate term throws
Given import file:
language,term
Spanish,gato
Spanish,gato
Then import should fail with message:
Duplicate terms in import: Spanish: gato
Really, this should only be a problem if there is inconsistent data. e.g, this is bad:
Scenario: Duplicate term throws
Given import file:
language,term,translation
Spanish,gato,cat
Spanish,gato,kitty
Then import should fail with message:
Duplicate terms in import: Spanish: gato
but this should work:
Scenario: identical lines ok
Given import file:
language,term
Spanish,gato,cat
Spanish,gato,cat
Then import should succeed with 1 term imported
The text was updated successfully, but these errors were encountered:
jzohrab
added
the
tweak
Adjustment to the code -- not a new feature, just minor mods/tweaks
label
Nov 27, 2024
Currently the term import fails if the same term is listed twice, e.g. in tests/features/term_import:
Really, this should only be a problem if there is inconsistent data. e.g, this is bad:
but this should work:
The text was updated successfully, but these errors were encountered: