-
Couldn't load subscription status.
- Fork 1.4k
Closed
Labels
Completed 🔥bug 🐛An unexpected issue that highlights incorrect behaviorAn unexpected issue that highlights incorrect behaviorhelpers ✋
Milestone
Description
Describe the bug
The TaskResultConverter returns DependencyProperty.UnsetValue in the fallback path.
This causes invalid cast exceptions downstream when trying to convert the object to some type.
The converter should just return null if no value is available.
Regression
No, always been like this.
Reproducible in sample app?
- This bug can be reproduced in the sample app.
Steps to reproduce
This can be reproed in the MVVM Toolkit sample app.
Just open the "Async relay command" page and observe the crash.
Expected behavior
The converter should return null.
Screenshots
Help us help you
Yes, I'd like to be assigned to work on this item.
Metadata
Metadata
Assignees
Labels
Completed 🔥bug 🐛An unexpected issue that highlights incorrect behaviorAn unexpected issue that highlights incorrect behaviorhelpers ✋
Type
Projects
Status
Done
