This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround TM result coalescing bug.
Refactors the match processing code to make it clearer what type of match is being added to a result item, and makes a few small changes to minimize the incorrect behaviour: - No longer adds imported TM item id to the list that is used to look up text flows. A more complete fix is to wrap the Long id in a type so that all the ids are present and can be used sensibly. This just makes the list appropriate for the code that uses it right now, to delay spending the development time for the full fix. - Upgrades match type when a match has a higher match type, where ApprovedInternal > TranslatedInternal > Imported. Imported is treated as lowest just because the editor suppresses details display for Imported. Treating the others as higher will allow users to see text flow details for the other types. The full fix for this would be to inculde a summary of all the match types in the DTO, so the editor can display whatever makes sense.
- Loading branch information
1 parent
8e915d2
commit a53c3cc
Showing
2 changed files
with
42 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters