[COMPASS-6806] Compass UI fails when creating/deleting collections with .. in the name Created: 09/May/23  Updated: 11/Jul/23

Status: Open
Project: Compass
Component/s: Collection
Affects Version/s: 1.38.2
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Alena Khineika Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: needs-prioritization
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS: macOS


Attachments: JPEG File Screenshot 2023-05-10 at 16.35.4622.jpg     JPEG File Screenshot 2023-05-10 at 16.35.5722.jpg    
Story Points: 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.


Generated at Wed Feb 07 22:44:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.