[COMPASS-3066] As a developer, I expect Compass to validate leading and trailing whitespace when creating databases and collections Created: 15/Aug/18  Updated: 27/Sep/19  Resolved: 27/Sep/19

Status: Closed
Project: Compass
Component/s: Compass, CRUD, UI / UX
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Brian Blevins Assignee: Unassigned
Resolution: Incomplete Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to COMPASS-3716 Created a collection with just space ... Closed

 Description   

The prevalence of copy/paste operations with known issues involving whitespace and control characters both leading and trailing the input string implies that Compass should validate both database and collection names when those are created. Ideally, Compass displays a additional, unexpected confirmation dialog warning the user about the possible problem. The default input focus on this dialog is "Cancel".

  • Warning: The collection name you gave ends in whitespace/tab. Please confirm this is the correct name for the new collection.
  • Warning: The database name you gave begins with whitespace/tab. Please confirm this is the correct name for the new collection.


 Comments   
Comment by Massimiliano Marcon [ 27/Sep/19 ]

Closing this issue in JIRA. It's been moved to the new, unified feedback engine at https://feedback.mongodb.com/forums/924283-compass.

We are looking for input to decide how to prioritize it, so go there, look for the suggestion, vote and leave comments. If you don't find it, feel free to create a new one.

Generated at Wed Feb 07 22:32:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.