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

Regression or breaking change between beta 40 and beta 42 #441

Open
Evangelink opened this issue Nov 22, 2021 · 2 comments
Open

Regression or breaking change between beta 40 and beta 42 #441

Evangelink opened this issue Nov 22, 2021 · 2 comments
Labels

Comments

@Evangelink
Copy link
Contributor

High-level description

I have noticed that I am starting to get some binding issues (stack trace below) when moving from beta 40 to beta 42.

Cannot get 'SelectedKeyFrame' value (type 'Object') from '' (type 'ViewModel`2'). BindingExpression:Path=SelectedKeyFrame; DataItem='ViewModel`2' (HashCode=9122323); target element is 'ListBox' (Name=''); target property is 'SelectedItem' (type 'Object') InvalidOperationException:'System.InvalidOperationException: Property path is not valid. 'System.Dynamic.DynamicObject+MetaDynamic' does not have a public property named 'Items'.
   at CallSite.Target(Closure , CallSite , Object )
   at MS.Internal.Data.PropertyPathWorker.GetValue(Object item, Int32 level)
   at MS.Internal.Data.PropertyPathWorker.RawValue(Int32 k)'

The property SelectedKeyFrame is bound to a subModelSelectedItem linked to a subModelSeq.

Steps to Reproduce

I am working on a minimal reproducer but thought it might be worth to open the ticket anyways as the "issue" is contained between 2 commits.

Additional Information
Elmish.WPF version: 4.0.0-beta-40
Target framework version: net48

@Evangelink Evangelink added the bug label Nov 22, 2021
@TysonMN
Copy link
Member

TysonMN commented Jun 12, 2022

Any progress on a production?

@Evangelink
Copy link
Contributor Author

Hi @TysonMN! So sorry, I changed job and totally forgot about this open issue. I don't have the original source code obviously but I will try to see if I can still reproduce something locally (low chance).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants