Closed bfitzpat closed 5 years ago
Shifted Che plugin PR here - https://github.com/eclipse/che-plugin-registry/pull/136
Testing today with the v3 version and the latest theia used on che.openshift.io, this is no longer an issue. I'm going to go ahead and close it
Description
We are attempting to add a new plugin to the Che extension registry (see https://github.com/eclipse/che-plugin-registry/issues/120) and ran into a strange error with our extension. We use a file dialog -- vscode.window.showOpenDialog (see https://github.com/camel-tooling/vscode-wsdl2rest/blob/5851297b8459d1ace95a22a6657b3a7b67e12736/src/extension.ts#L105) to retrieve the path to a local wsdl file in the workspace. When the dialog comes up, we see this in the console: ``` root ERROR Error when loading drives. PKK+/pI am using a branch to test the new plugin entry. I add to the attributes:
Then, in the che.openshift.io instance, I am invoking the wsdl2rest activity with a local wsdl in the workspace (F1, type "wsdl2rest" and use the local file option).
The file dialog appears, but clicking the Open WSDL File button does nothing. You have to cancel out by hitting the x in the upper right.
Looking in the Chrome debug console, I see the ERROR while loading drives problem.
If we cancel out of the file dialog, we can continue with the extension and work all the way through to the point where we invoke the wsdl2rest utility under the covers. We see this as the output... It makes sense, because the value of the file url is coming back as undefined from the file browse dialog.
OS and version:
Chrome browser on Windows, accessing Che instance on che.openshift.io
Diagnostics: