[COMPASS-3918] CLONE - Share Schema as JSON causes javascript error, does not open save dialog Created: 03/Oct/19  Updated: 03/Oct/19  Resolved: 03/Oct/19

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: 1.19.0
Fix Version/s: 1.20.0

Type: Bug Priority: Major - P3
Reporter: Amir Nasser Bigdeli Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: json, schema
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

MacOSX


Issue Links:
Cloners
clones COMPASS-3814 Share Schema as JSON causes javascrip... Closed

 Description   

Unable to use the Collection: Share Schema as JSON menu item in Compass 1.19.0.

The following error is generated in Dev Tools and no dialog is displayed to share/save the schema.

Uncaught Error: Could not call remote function 'showMessageBox'. Check that the function signature is correct. Underlying error: Error processing argument at index 10, conversion failure from 
Error: Could not call remote function 'showMessageBox'. Check that the function signature is correct. Underlying error: Error processing argument at index 10, conversion failure from 
    at callFunction (/Applications/MongoDB Compass.app/Contents/Resources/electron.asar/browser/rpc-server.js:258)
    at EventEmitter.<anonymous> (/Applications/MongoDB Compass.app/Contents/Resources/electron.asar/browser/rpc-server.js:360)
    at EventEmitter.emit (events.js:182)
    at WebContents.<anonymous> (/Applications/MongoDB Compass.app/Contents/Resources/electron.asar/browser/api/web-contents.js:293)
    at WebContents.emit (events.js:182)
    at callFunction (/Applications/MongoDB Compass.app/Contents/Resources/electron.asar/browser/rpc-server.js:258)
    at EventEmitter.<anonymous> (/Applications/MongoDB Compass.app/Contents/Resources/electron.asar/browser/rpc-server.js:360)
    at EventEmitter.emit (events.js:182)
    at WebContents.<anonymous> (/Applications/MongoDB Compass.app/Contents/Resources/electron.asar/browser/api/web-contents.js:293)
    at WebContents.emit (events.js:182)
    at metaToException (/Applications/MongoDB Compass.app/Contents/Resources/electron.asar/renderer/api/remote.js:271)
    at Object.exception (/Applications/MongoDB Compass.app/Contents/Resources/electron.asar/renderer/api/remote.js:219)
    at metaToValue (/Applications/MongoDB Compass.app/Contents/Resources/electron.asar/renderer/api/remote.js:223)
    at Object.remoteMemberFunction (/Applications/MongoDB Compass.app/Contents/Resources/electron.asar/renderer/api/remote.js:123)
    at Store.handleSchemaShare (/Applications/MongoDB Compass.app/Contents/Resources/app.asar/node_modules/@mongodb-js/compass-schema/lib/index.js:57)
    at EventEmitter.emit (events.js:182)



 Comments   
Comment by Irina Shestak (Inactive) [ 03/Oct/19 ]

This was fixed in COMPASS-3814 and will be released in 1.20.

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