Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5476

Remove validation for saving connections with the new connection form

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.31.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 5
    • Not Needed
    • Iteration Utica, Iteration Wolverhampton

      Currently, when saving a connection in the new connection form we transfer the connectionInfo into the old connection-model and then save it.
      At some point in the conversion and saving the connection-model validates the model. This causes some unforeseen errors as we're more flexible and permissive with connections in the new connectionInfo. When these errors occur the model is not saved. This ticket involves removing that validation with connections that are saved using the new connection form. We should ensure that this doesn't not break the existing

      An example for testing this is using a connection string with the `authMechanism` not fully capitalized:
      Saving this connection string as a favorite is a shortcut to show this behavior.

            maurizio.casimirri@mongodb.com Maurizio Casimirri
            rhys.howell@mongodb.com Rhys Howell
            0 Vote for this issue
            4 Start watching this issue