Uploaded image for project: 'Entity Framework'
  1. Entity Framework
  2. EF-83

EF Entities with Lists of objects containing Lists of objects will cause Linq 'InvalidOperationException' when queried on

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • GA 1
    • Public Preview 1

    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

      Attachments

        Activity

          People

            damien.guard@mongodb.com Damien Guard
            sbrophy@raincityhousing.org Sean Brophy
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              PagerDuty