-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
An exception occurred while reading a database value. The expected type was 'System.Decimal' but the actual value was of type 'System.Double' #13587
Comments
Note for triage: was able to easily repro this. |
@ajcvickers, if there’s any way of getting this into a 2.1 patch we’d be greatly appreciative. Totally understand if you can’t though. |
@optiks At this point anything other than critical platform stability or security bugs will need to come through official paid support channels to be considered for a 2.1 patch. |
Dupe of #10642? |
This is regression introduced in #8861 unintentionally. |
We were losing convert nodes added by users and ended up getting results in wrong type Resolves #13587
We were losing convert nodes added by users and ended up getting results in wrong type Resolves #13587
Reopening because failing tests are disabled referencing this issue:
|
@smitpatel to follow up. |
Filed #17111 |
An aggregation query with cast will throw InvalidOperationException
Steps to reproduce
Entity:
Query to reproduce error
Repro included at https://github.com/avinash-phaniraj-readify/EFCoreTestBed/tree/InvalidCast
Further technical details
EF Core version: 2.1.4
Database Provider: SqlServer and SqlCE
Operating system: Win 10
IDE: VS 2017 15.8.1
The text was updated successfully, but these errors were encountered: