Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2260

Add CSFLE spec test for auto encryption on a collection with no jsonSchema

    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4331 Fixed 1.22.0, 1.22.0-beta0
      CXX-2487 Fixed 3.7.0
      CSHARP-4135 Fixed 2.16.0
      GODRIVER-2377 Fixed 1.10.0, 1.10.0-beta1
      JAVA-4571 Fixed 4.7.0
      NODE-4175 Done
      MOTOR-929 Duplicate
      PYTHON-3220 Fixed 4.2
      PHPLIB-838 Fixed 1.13.0-beta1, 1.13.0
      RUBY-2951 Fixed 2.18.0
      RUST-1264 Duplicate
      SWIFT-1542 Duplicate
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-4331 Fixed 1.22.0, 1.22.0-beta0 CXX-2487 Fixed 3.7.0 CSHARP-4135 Fixed 2.16.0 GODRIVER-2377 Fixed 1.10.0, 1.10.0-beta1 JAVA-4571 Fixed 4.7.0 NODE-4175 Done MOTOR-929 Duplicate PYTHON-3220 Fixed 4.2 PHPLIB-838 Fixed 1.13.0-beta1, 1.13.0 RUBY-2951 Fixed 2.18.0 RUST-1264 Duplicate SWIFT-1542 Duplicate

      Summary

      Add CSFLE spec test for auto encryption on a non-existent collection with no client side jsonSchema. There are no spec tests for this scenario and it was broken and fixed in MONGOCRYPT-378/PYTHON-3188.

      Motivation

      How does this affect the end user?

      Avoids regressions like PYTHON-3188.

      If the problem does occur, what are the consequences and how severe are they?

      Unable to use a CSFLE client on collections without schemas, eg use an encrypted client to insert into an unencrypted collection.

      Is this ticket only for tests?

      Yes, only tests.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: