[COMPASS-4281] Schema tab goes blank when typing a query with $in on int32 fields Created: 08/May/20  Updated: 08/Aug/22

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

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

Attachments: PNG File screenshot-1.png    
Issue Links:
Related
is related to COMPASS-4913 Schema Analyzer tab crashes on a cert... Open

 Description   

Compass version 1.21.0

I have observed this to happen consistently, regardless of the collection being used.

Steps to reproduce:
1. Connect from Compass 1.21.0 to an Atlas cluster
2. Open a collection in Compass. You can use the sample_mflix.movies namespace available when downloading sample data set to atlas clusters (more info here).
3. Go to the schema tab, and click on analyse schema.
4. type in a query in the filter, making sure it includes a field that has int32 values, and uses the $in operator. In my test, I use the below:

{year:{$in:[1990,1992]}}

As soon as I type the last closing bracket (i.e. without even running the query), the schema reports disappear, and there is no way to reset or analyse the schema again.

I also repro'd this using the mongofans collection a collection generated by KEYHOLE in a local mongod. i.e. this is not associated to a particular collection (or Atlas).


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