Skip to content

Fix LT-20950: Add New Sense dialog uses wrong Morph Type - #1019

Merged
jtmaxwell3 merged 1 commit into
mainfrom
LT-20950
Jul 21, 2026
Merged

Fix LT-20950: Add New Sense dialog uses wrong Morph Type#1019
jtmaxwell3 merged 1 commit into
mainfrom
LT-20950

Conversation

@jtmaxwell3

@jtmaxwell3 jtmaxwell3 commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

This fixes https://jira.sil.org/browse/LT-20950. le.AlternateFormsOS only consists of the alternate allomorphs, le.AllAllomorphs consists of the lexeme and the alternative allomorphs. le.AlternateFormsOS didn't find anything if there were no alternate allomorphs. This worked for stems but not affixes. In the description the -se affix had an alternate allomorph and so it worked, whereas the -s affix didn't have an alternative allomorph and so it didn't work. Switching to le.AllAllomorphs fixed the problem.


This change is Reviewable

@mark-sil mark-sil left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mark-sil reviewed 1 file and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on jtmaxwell3).

@github-actions

Copy link
Copy Markdown

NUnit Tests

    1 files  ±0      1 suites  ±0   10m 49s ⏱️ -1s
4 306 tests ±0  4 233 ✅ ±0  73 💤 ±0  0 ❌ ±0 
4 315 runs  ±0  4 242 ✅ ±0  73 💤 ±0  0 ❌ ±0 

Results for commit 553beaa. ± Comparison against base commit 9b7d537.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 32.99%. Comparing base (9b7d537) to head (553beaa).

Files with missing lines Patch % Lines
Src/LexText/LexTextControls/AddNewSenseDlg.cs 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1019      +/-   ##
==========================================
- Coverage   32.99%   32.99%   -0.01%     
==========================================
  Files        1202     1202              
  Lines      278209   278209              
  Branches    37160    37160              
==========================================
- Hits        91789    91788       -1     
  Misses     158563   158563              
- Partials    27857    27858       +1     
Files with missing lines Coverage Δ
Src/LexText/LexTextControls/AddNewSenseDlg.cs 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jtmaxwell3
jtmaxwell3 merged commit 11b5f94 into main Jul 21, 2026
7 checks passed
@jtmaxwell3
jtmaxwell3 deleted the LT-20950 branch July 21, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants