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

Filtering with BsonRegularExpressions appears to be broken in 2.4.3

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Blocker - P1 Blocker - P1
    • None
    • 2.4.3
    • BSON, Linq
    • Win 7, Visual Studio 2013

    Description

      In 2.4.2 the following worked when defining a FilterDefinition:

      filterDefinition = builder.Eq(
                              x => x.Domain, 
                              new BsonRegularExpression(string.Format("^{0}$" : "{0}", query.Domain), "i"));
      

      However, this appears to be broken in 2.4.3

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            jcleve John Cleve
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: