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

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Incomplete
    • None
    • None
    • Compass, CRUD, UI / UX
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: