[COMPASS-5992] Create index combobox input field crashes on regex characters Created: 01/Aug/22  Updated: 28/Sep/22  Resolved: 02/Aug/22

Status: Closed
Project: Compass
Component/s: Indexes
Affects Version/s: 1.32.5
Fix Version/s: 1.32.6

Type: Bug Priority: Blocker - P1
Reporter: Rhys Howell Assignee: Alena Khineika
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates COMPASS-5994 Blank screen creating Wildcard Index ... Closed
Related
Epic Link: COMPASS-5485
Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Grouper

 Description   

Regex characters like `?` or `*` break Compass when inputted in the Index creation modal in the indexes plugin. Let's fix it so folks can input wildcard indexes and special characters.

This is a bug with the LG combobox, slack thread: https://mongodb.slack.com/archives/CFFA5BS79/p1659360956278809



 Comments   
Comment by Githook User [ 28/Sep/22 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: fix: create index combobox input field crashes on regex characters COMPASS-5992 (#3311)

  • fix: create index combobox input field crashes on regex characters COMPASS-5992
  • build: add missing dependencies
  • test: add e2e test for a wildcard index
  • fix: update test selector
Comment by Githook User [ 30/Aug/22 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: fix: create index combobox input field crashes on regex characters COMPASS-5992 (#3311)

  • fix: create index combobox input field crashes on regex characters COMPASS-5992
  • build: add missing dependencies
  • test: add e2e test for a wildcard index
  • fix: update test selector
Comment by Githook User [ 03/Aug/22 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: fix: create index combobox input field crashes on regex characters COMPASS-5992 (#3311)

  • fix: create index combobox input field crashes on regex characters COMPASS-5992
  • build: add missing dependencies
  • test: add e2e test for a wildcard index
  • fix: update test selector
Comment by Githook User [ 02/Aug/22 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: fix: create index combobox input field crashes on regex characters COMPASS-5992 (#3311)

  • fix: create index combobox input field crashes on regex characters COMPASS-5992
  • build: add missing dependencies
  • test: add e2e test for a wildcard index
  • fix: update test selector
Comment by Githook User [ 02/Aug/22 ]

Author:

{'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}

Message: Merge remote-tracking branch 'origin/main' into COMPASS-5992-fix-combobox-regex
Branch: COMPASS-5992-fix-combobox-regex
https://github.com/mongodb-js/compass/commit/2699e1c16a4451c2c0f748e8284fbf2978aad449

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