Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-378

In the update methode, don't call the serializer when creating the query

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.3.1
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
    • Environment:
      Windows7

      Description

      I have a class with a property "Id" that is mapped with a custom serializer.
      When I try to update an element, using the Save method of the MongoCollection class, the query is built without using the serializer to map the property with the correct type.
      I don't use the BSonRepresentationAttribute on my property.

        Attachments

          Activity

            People

            Assignee:
            rstam Robert Stam
            Reporter:
            sbalant Sebastien Balant
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: