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

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

    • 3
    • Not Needed

      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.

        1. Screenshot 2023-05-10 at 16.35.4622.jpg
          653 kB
          Alena Khineika
        2. Screenshot 2023-05-10 at 16.35.5722.jpg
          777 kB
          Alena Khineika

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

              Created:
              Updated:
              Resolved: