-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 1.19.12
-
Component/s: Schema, Schema Validation
-
None
-
Environment:Windows 10 64 Bit
-
Iteration Ragamuffin
-
Not Needed
Adding boolean fields to my data made the schema tab not work properly.
The tab appears blank, when changing the tab to another and back to schema, the left side of the schema will be visible.
The DevTools will print following errors (I attached a Snapshot Heap from DevTools too):
Unable to find source-code formatter for language: txt. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
2C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\bugsnag-js\src\bugsnag.js:661 TypeError: Cannot read property 'getAction' of undefined at to (C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\@mongodb-js\compass-schema\lib\index.js:57) at Object.eo [as fn] (C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\@mongodb-js\compass-schema\lib\index.js:57) at e.value (C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\@mongodb-js\compass-schema\lib\index.js:57) at xf (C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:135) at Og (C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:167) at Tg (C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:180) at bi (C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:232) at ci (C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:233) at Di (C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:249) at Yh (C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:248) object.(anonymous function) @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\bugsnag-js\src\bugsnag.js:661 qh @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:198 Ch.c.callback @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:210 ih @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:193 hh @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:193 Vh @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:217 Zh @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:220 (anonymous) @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:250 exports.unstable_runWithPriority @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\scheduler\cjs\scheduler.production.min.js:18 Fi @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:250 Di @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:249 Yh @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:248 Xh @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:245 qf @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:243 enqueueSetState @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:130 E.setState @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react\cjs\react.production.min.js:13 eventHandler @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\reflux-core\lib\PublisherMethods.js:44 emit @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\reflux-core\node_modules\eventemitter3\index.js:137 trigger @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\reflux-core\lib\PublisherMethods.js:63 setState @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\reflux-state-mixin\lib\storeMixin.js:48 (anonymous) @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\@mongodb-js\compass-schema\lib\index.js:57 (anonymous) @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\@mongodb-js\compass-schema\lib\index.js:57 emit @ events.js:187 (anonymous) @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\@mongodb-js\compass-schema\lib\index.js:57 c @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\@mongodb-js\compass-schema\lib\index.js:32 u.end @ C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\@mongodb-js\compass-schema\lib\index.js:32 onend @ internal/streams/legacy.js:42 emit @ events.js:187 emit @ events.js:182 endReadableNT @ _stream_readable.js:1090 _tickCallback @ internal/process/next_tick.js:63 C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:248 Uncaught TypeError: Cannot read property 'getAction' of undefined at to (C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\@mongodb-js\compass-schema\lib\index.js:57) at Object.eo [as fn] (C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\@mongodb-js\compass-schema\lib\index.js:57) at e.value (C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\@mongodb-js\compass-schema\lib\index.js:57) at xf (C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:135) at Og (C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:167) at Tg (C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:180) at bi (C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:232) at ci (C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:233) at Di (C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:249) at Yh (C:\Users\User\AppData\Local\MongoDBCompass\app-1.19.12\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:248)