Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binding<double, string> fails with complex path with null member #9

Closed
lbugnion opened this issue Nov 29, 2017 · 1 comment
Closed

Binding<double, string> fails with complex path with null member #9

lbugnion opened this issue Nov 29, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@lbugnion
Copy link
Owner

@lbugnion lbugnion commented Nov 29, 2017

Found the following issue with Bindings with complex paths: If you set a Binding<double, string> with a complex path, setting the binding fails because of a cast error from double to string, if one member of the complex path is null.
For example (if Btc is null):

_bindings.Add(this.SetBinding(
                () => Vm.Btc.Model.CurrentValue,
                () => ValueLabelBtc.Text));
@lbugnion lbugnion self-assigned this Nov 29, 2017
@lbugnion lbugnion added the bug label Nov 29, 2017
@lbugnion lbugnion added this to the V5.4.0.2 milestone Nov 29, 2017
lbugnion added a commit that referenced this issue Nov 29, 2017
@lbugnion
Copy link
Owner Author

@lbugnion lbugnion commented Feb 12, 2018

Fixed in V5.4.1

@lbugnion lbugnion closed this Feb 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant