zowe / zowe-cli

Zowe CLI
Eclipse Public License 2.0
108 stars 85 forks source link

`ProfileInfo` does not update global schema when a project-level config is detected #2086

Closed traeok closed 3 months ago

traeok commented 3 months ago

Describe the bug

If a user has a workspace folder opened containing a project-level configuration, and a VS Code extension is installed, ProfileInfo.addProfileTypeToSchema does not update the global schema as expected.

(originally reported by @FrankSu1996 in issue zowe-explorer-vscode#2773)

Expected and actual results

Expected: The profile type and its metadata are added to the global schema even if a project-level config is found. Actual: The schema is not updated.

A workaround is to close the workspace folder, delete extenders.json from your Zowe home directory and then try to register the extension again in VS Code.

Describe your environment

Additional context

github-actions[bot] commented 3 months ago

Thank you for creating a bug report. We will investigate the bug and evaluate its impact on the product. If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.