[COMPASS-5973] Indexes with a key "length" will not show up Created: 24/Jul/22  Updated: 03/Oct/23  Resolved: 25/Jul/22

Status: Closed
Project: Compass
Component/s: Indexes
Affects Version/s: 1.32.4
Fix Version/s: No version

Type: Bug Priority: Major - P3
Reporter: L Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File 2022072501260216.png    
Issue Links:
Related
is related to COMPASS-3922 Documents with a "length" field break... Closed
is related to COMPASS-4756 Indexes on a 'length' field breaks th... Closed
Documentation Changes: Not Needed

 Description   

Problem Statement/Rationale

When a collection has an index with a key column { "length": 1 }, the indexes UI breaks and will show nothing.

Steps to Reproduce

  1. create a collection and add an index with the key { "length": 1 }
  2. then navigate to the "indexes" tab of the collection
  3. the tab is blank

Expected Results

Indexes are showing properly.

Actual Results

the tab is blank

Additional Notes

This bug has been around since a few years ago, but it is still not fixed in latest version

https://jira.mongodb.org/browse/COMPASS-3922



 Comments   
Comment by Anna Henningsen [ 25/Jul/22 ]

Hi lkho! Thanks for the report. I’ve noticed you’ve already seen COMPASS-4756, but since that ticket is still open and has already gone through our triage process, I think it makes sense to use that instead to track this problem, so I will be closing this ticket as a duplicate.

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