[EF-83] EF Entities with Lists of objects containing Lists of objects will cause Linq 'InvalidOperationException' when queried on Created: 17/Nov/23  Updated: 21/Dec/23

Status: Scheduled
Project: Entity Framework
Component/s: None
Affects Version/s: Public Preview 1
Fix Version/s: GA 1

Type: Bug Priority: Unknown
Reporter: Sean Brophy Assignee: Damien Guard
Resolution: Unresolved Votes: 1
Labels: Bug
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Steps to reproduce:

  • Create an EF Entity with a List of objects, containing a List of objects
  • Create your matching MongoDB database and setup your database connection (you can actually get away with a valid connection string only to repro the issue)
  • Write a Linq or Lambda expression to query the Entity, on any of its members, _id will work
  • Query causes invalid operation exception to be thrown

Notes:

Minimal repro here: https://github.com/seannybgoode/MongoEFCoreListsBugDemo/tree/master

Worked with Damien Guard on this, and he assessed that this is separate from EF-63


Generated at Thu Feb 08 08:26:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.