Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-3918

CLONE - Share Schema as JSON causes javascript error, does not open save dialog

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • 1.20.0
    • Affects Version/s: 1.19.0
    • Component/s: Compass
    • Environment:
      MacOSX

      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)
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            amir_nasser@optum.com Amir Nasser Bigdeli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: