Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-72416

The find and findAndModify projection code does not honor the collection level collation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical - P2
    • Resolution: Fixed
    • 4.4.18, 5.0.14, 6.0.3
    • 6.0.4, 6.2.0-rc5, 6.3.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v6.2, v6.0, v5.0, v4.4
    • QE 2023-01-09
    • 3

    Description

      The find projection parsing code uses a very naive ExpressionContext object which does not inherit collection level collation. This means the expression evaluation code inside the projection spec does not use the collection level collation, leading to incorrect results.

      Attachments

        Issue Links

          Activity

            People

              arun.banala@mongodb.com Arun Banala
              arun.banala@mongodb.com Arun Banala
              Votes:
              3 Vote for this issue
              Watchers:
              22 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: