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

Make buildFle2EncryptPlaceholder error if unsupported field is used with $encStrStartsWith

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The recent changes to buildFle2EncryptPlaceholder allow generating the correct placeholder for $encStrStartsWith. However, it does not throw an error when we try to generate a placeholder for a field whose metadata does not support the requested operator type.  

            Assignee:
            santiago.roche@mongodb.com Santiago Roche
            Reporter:
            santiago.roche@mongodb.com Santiago Roche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None