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

Target of an invocation error now being thrown after upgrading to 3.17.7 #451

Open
johnwc opened this issue Mar 16, 2017 · 3 comments
Open

Comments

@johnwc
Copy link

johnwc commented Mar 16, 2017

Getting this error now. When using this code. The model (also is x) is of type UserDetailModel, the sub property User is of type EmployeeDTO. This worked just fine until version 3.17.2, I've test in 3.17.1 and it still works.

 @f.FormGroup().DisplayFor(x => x.User.FirstName)

The model item passed into the dictionary is of type 'UserDetailModel', but this dictionary requires a model item of type 'EmployeeDTO'.

@johnwc
Copy link
Author

johnwc commented Mar 26, 2017

No response?

@DmitryEfimenko
Copy link
Owner

Yeah, I see where the bug crawled in. Is using version 3.17.1 an option for you or were there any bug fixes since that version that you need?
If you can use 3.17.1, please do and I'll see what can be done about that issue. It's possible I'll have to rollback some changes.

@johnwc
Copy link
Author

johnwc commented Mar 29, 2017

I can work with 3.17.1 for now, but I'd like to update to the latest as some point.

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

No branches or pull requests

2 participants