-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
The checkCollectionName method in the driver does not match the actual restrictions on collection names.
For example, one can use the Node.js driver to create a collection ending in a dot character, but cannot use it to access that collection afterwards.
The method should be adjusted to actually match naming restrictions.
AC
- Remove validation on naming restrictions on collection and database names when creating the resource; delete any associated unneeded methods like checkCollectionName
- Special Case: In the case of '.' in database names, we want to continue to validate client-side
- Update existing tests or create new ones to check that the method is able to fail because of a server name validation error and not a driver error
- Delete any unneeded tests
- is depended on by
-
MONGOSH-1528 createCollection succeeds but crashes the shell if the driver mis-validates the collection name
- Closed