Owned entity equality started failing for some cases with driver 3.7

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Unknown
    • 10.0.2, 9.1.2, 8.4.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Dotnet Drivers
    • Hide

      Actually caused by contains on owned entity collections now in 3.7.1 actually using the serializer when previously a bug prevented it. Will be fixed by EF-202 which is ready once the 3.7.1 PR is merged.

      Show
      Actually caused by contains on owned entity collections now in 3.7.1 actually using the serializer when previously a bug prevented it. Will be fixed by EF-202 which is ready once the 3.7.1 PR is merged.
    • None
    • None
    • None
    • None
    • None
    • None

      See:

      OwnedEntity_nested_one_level_collection_match
      OwnedEntity_nested_one_level_collection_not_match

      These tests are using entity equality, which is not supported, but were previously passing anyway. Now I get, "System.NotSupportedException
      Entity to entity comparison is not supported. Compare 'Location' entities by unique fields instead," which is what I was expecting to get anyway!

            Assignee:
            Damien Guard
            Reporter:
            Arthur Vickers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: