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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.26.1
    • Affects Version/s: 1.25.0
    • Component/s: Collection, CRUD
    • None
    • Environment:
      Mac, Windows
    • 1
    • Not Needed
    • Iteration Xylocarpus Granatum

      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.

       

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

              Created:
              Updated:
              Resolved: