-
Type: Bug
-
Resolution: Gone away
-
Priority: Major - P3
-
Affects Version/s: 1.26.1
-
Component/s: Schema
-
None
-
Environment:OS:
node.js / npm versions:
Additional info:
-
2
-
Not Needed
Problem Statement/Rationale
Seems like certain data types crash the schema analyzer tab
Steps to Reproduce
- Open sample_geospatial.shipwrecks collection in Compass
- Go to the "Schema" tab
- Change query to {depth: {$type: 'number'}} and press Analyze
Expected Results
You see analyze results in the UI
Actual Results
Tab goes blank and there are errors in the console
Additional Notes
Stack trace from packaged application:
TypeError: Expected a function at it (/Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/@mongodb-js/compass-schema/lib/index.js:309) at pt (/Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/@mongodb-js/compass-schema/lib/index.js:309) at /Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/@mongodb-js/compass-schema/lib/index.js:309 at m (/Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/@mongodb-js/compass-schema/lib/index.js:309) at /Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/@mongodb-js/compass-schema/lib/index.js:309 at t.exports (/Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/@mongodb-js/compass-schema/lib/index.js:309) at t.exports (/Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/@mongodb-js/compass-schema/lib/index.js:309) at SVGRectElement.<anonymous> (/Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/@mongodb-js/compass-schema/lib/index.js:325) at /Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/d3/d3.js:962 at d3_selection_each (/Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/d3/d3.js:968)
Seems to happen with a Double type for some reason
- related to
-
COMPASS-4281 Schema tab goes blank when typing a query with $in on int32 fields
- Closed