Inconsistent function\boolean handling in Linq queries

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.9
    • Affects Version/s: 1.8.1
    • Component/s: None
    • None
    • Environment:
      Windows, C#, .Net 4.5, Visual Studio 2012
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It seems like although the QueryTranslator works as intended, there is a problem with the Serialization Info finder when trying to process the following:

      strongResult = strongCollection.Where(o => o.Name.StartsWith("Sat") == true).ToList();

      If we omit the == true part, then the query works:

      strongResult = strongCollection.Where(o => o.Name.StartsWith("Sat")).ToList();

      Integration tests reproducing the problem can be found here:

      https://github.com/Roysvork/MongoDbStartsWithBugTest

      You must have an instance of MongoDb running on localhost with the default port for the tests to run, of course this can be changed easily

            Assignee:
            Craig Wilson
            Reporter:
            Pete Smith
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: