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

Wrong message is displayed when try to create collection with no name specified

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 1.25.0
    • 1.26.1
    • Collection, CRUD
    • None
    • Mac, Windows
    • 1
    • Not Needed
    • Iteration Xylocarpus Granatum

    Description

      Problem Description

      Steps to Reproduce

      1. Click a button to Create Collection 
      2. Don't fill in the Collection Name field (leave it blank)
      3. Click Create Collection button

      Expected Results

      Error message should be informative and say that Collection Name field cannot be blank .

      Actual Results

      "Invalid namespace specified '<db name>'" error message appears.

      Additional Notes

      The same behaviour if create new db, don't specify collection name and click Create Database.

       

      Attachments

        Activity

          People

            michael.rose@mongodb.com Michael Rose (Inactive)
            olena.protsiuk@mongodb.com Olena Protsiuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: