Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-5238

ClientEncryption encrypt and encryptExpression failing due to missing or incorrect 'min' Range option

    • 2
    • Not Needed
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      https://spruce.mongodb.com/task/mongo_node_driver_next_rhel80_large_hydrogen_test_socks5_csfle_patch_d6d76b4f239ab3d53e867a5c9ace9e18aa12886a_644e90dad1fe07ebf97d3371_23_04_30_16_01_31/logs?execution=0&sortBy=STATUS&sortDir=ASC

      [2023/04/30 16:20:18.051] 1) ClientEncryption[2023/04/30 16:20:18.051] encrypt()[2023/04/30 16:20:18.051] when expressionMode is incorrectly provided as an argument[2023/04/30 16:20:18.051] overrides the provided option with the correct value for expression mode:[2023/04/30 16:20:18.051] MongoCryptError: Range option 'min' is required for type: INT64[2023/04/30 16:20:18.051] at StateMachine.execute (lib/stateMachine.js:230:22)[2023/04/30 16:20:18.051] at /data/mci/809fb0402ff5913d6a06c17540ef183a/csfle-deps-tmp/libmongocrypt/bindings/node/lib/stateMachine.js:180:18[2023/04/30 16:20:18.051] at /data/mci/809fb0402ff5913d6a06c17540ef183a/csfle-deps-tmp/libmongocrypt/bindings/node/lib/stateMachine.js:482:20[2023/04/30 16:20:18.051] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)[2023/04/30 16:20:18.051] [2023/04/30 16:20:18.051] 2) ClientEncryption[2023/04/30 16:20:18.051] encryptExpression()[2023/04/30 16:20:18.051] does not throw if algorithm has different casing than 'rangePreview':[2023/04/30 16:20:18.051] AssertionError: expected MongoCryptError: Range option 'min' is required for type: INT32 to not be an instance of Error[2023/04/30 16:20:18.051] at Context.<anonymous> (test/clientEncryption.test.js:807:49)[2023/04/30 16:20:18.051] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)[2023/04/30 16:20:18.051] [2023/04/30 16:20:18.051] 3) ClientEncryption[2023/04/30 16:20:18.051] encryptExpression()[2023/04/30 16:20:18.051] when expressionMode is incorrectly provided as an argument[2023/04/30 16:20:18.051] overrides the provided option with the correct value for expression mode:[2023/04/30 16:20:18.051] MongoCryptError: Range option 'min' is required for type: INT32[2023/04/30 16:20:18.051] at StateMachine.execute (lib/stateMachine.js:230:22)[2023/04/30 16:20:18.051] at /data/mci/809fb0402ff5913d6a06c17540ef183a/csfle-deps-tmp/libmongocrypt/bindings/node/lib/stateMachine.js:180:18[2023/04/30 16:20:18.051] at /data/mci/809fb0402ff5913d6a06c17540ef183a/csfle-deps-tmp/libmongocrypt/bindings/node/lib/stateMachine.js:482:20[2023/04/30 16:20:18.051] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
       

      https://spruce.mongodb.com/task/mongo_node_driver_next_rhel80_large_gallium_test_socks5_csfle_patch_d6d76b4f239ab3d53e867a5c9ace9e18aa12886a_644e90dad1fe07ebf97d3371_23_04_30_16_01_31/logs?execution=0&sortBy=STATUS&sortDir=ASC

       

      https://spruce.mongodb.com/task/mongo_node_driver_next_rhel80_large_fermium_test_socks5_csfle_patch_d6d76b4f239ab3d53e867a5c9ace9e18aa12886a_644e90dad1fe07ebf97d3371_23_04_30_16_01_31/logs?execution=0&sortBy=STATUS&sortDir=ASC

       

      https://spruce.mongodb.com/task/mongo_node_driver_next_rhel8_custom_dependency_tests_run_custom_csfle_tests_5.0_master_patch_d6d76b4f239ab3d53e867a5c9ace9e18aa12886a_644e90dad1fe07ebf97d3371_23_04_30_16_01_31/logs?execution=0&sortBy=STATUS&sortDir=ASC

       

      https://spruce.mongodb.com/task/mongo_node_driver_next_rhel8_custom_dependency_tests_run_custom_csfle_tests_rapid_master_patch_d6d76b4f239ab3d53e867a5c9ace9e18aa12886a_644e90dad1fe07ebf97d3371_23_04_30_16_01_31/logs?execution=0&sortBy=STATUS&sortDir=ASC

       

      https://spruce.mongodb.com/task/mongo_node_driver_next_rhel80_large_node_latest_test_socks5_csfle_patch_d6d76b4f239ab3d53e867a5c9ace9e18aa12886a_644e90dad1fe07ebf97d3371_23_04_30_16_01_31/logs?execution=0&sortBy=STATUS&sortDir=ASC

       

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            warren.james@mongodb.com Warren James
            Warren James
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: