orange3
orange3 copied to clipboard
[FIX] Edit Domain: Partial restore state on categories mismatch
Issue
Fixes: gh-6660
Description of changes
- Ignore categories when exact match for a variable is not found in the stored settings (i.e. match by name and type only).
- If a stored transform is a
CategoriesMapping
transform that does not match the input, then it is dropped and a warning is shown.
Includes
- [X] Code changes
- [X] Tests
- [ ] Documentation
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 88.23%. Comparing base (
91b7fcb
) to head (62e1f31
). Report is 40 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #6776 +/- ##
=======================================
Coverage 88.23% 88.23%
=======================================
Files 327 327
Lines 71318 71346 +28
=======================================
+ Hits 62926 62953 +27
- Misses 8392 8393 +1