Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2121

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.12.0.rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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@mongodb.com Emily Giurleo (Inactive)
            Reporter:
            emily.giurleo@mongodb.com Emily Giurleo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: