Calling #use on a Client with auto encryption enabled will cause auto encryption to fail

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.12.0.rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Expected behavior:

      • Create a client with auto encryption enabled
      • Call #use on that client to connect it to the correct database
      • It can perform encrypted commands

      Actual behavior:

      • Create a client with auto encryption enabled
      • Call #use on that client to connect it to the correct database
      • The client attempts to perform listCollections on the original database it was connected it to, causing it to not pull down any remote jsonSchema information and not encrypt the command

            Assignee:
            Emily Giurleo (Inactive)
            Reporter:
            Emily Giurleo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: