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

As a developer, I expect Compass to validate leading and trailing whitespace when creating databases and collections

    • Type: Icon: New Feature New Feature
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Compass, CRUD, UI / UX
    • Labels:
      None

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            brian.blevins@mongodb.com Brian Blevins
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: