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

Compass UI fails when creating/deleting collections with .. in the name

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • 1.38.2
    • Collection
    • OS: macOS
    • 3

    Description

      Problem Statement/Rationale

      When the server handles those operations properly, Compass UI fails when creating/deleting collections with `..` in the name.

      Reported in the GitHub issue #4198

      Steps to Reproduce

      • Open the create collection modal.
      • Enter the collection name that contains `..`, e.g. `cmccjx_phone_realname_identityno_.._2010`

      Expected Results

      The collection is created and the modal is closed.

      Actual Results

      The collection is created, but the modal remains open.

      Additional Notes

      If you refresh the sidebar you will see, that the collection was actually created. If you try to open or delete such collection Compass shows the `Collection names cannot be empty` error and prevents you from deleting the collection.

      Attachments

        Activity

          People

            Unassigned Unassigned
            alena.khineika@mongodb.com Alena Khineika
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: