zowe / zowe-explorer-vscode

Visual Studio Code Extension for Zowe, which lets users interact with z/OS Data Sets, Unix System Services, and Jobs on a remote mainframe instance. Powered by Zowe SDKs.
Eclipse Public License 2.0
159 stars 89 forks source link

Updating credentials empties all tree views in the Activity Bar #2906

Open traeok opened 1 month ago

traeok commented 1 month ago

Describe the bug

In the latest version of Zowe Explorer, updating credentials on a profile causes all of the profile nodes to disappear from the tree view.

The only workaround I've found thus far is to reload the window (hence, restarting VS Code also works). If I try to add a profile back to the tree prior to doing so, nothing happens.

To Reproduce

  1. Right-click on a profile node in the tree view
  2. Select "Manage Profile" -> "Update Credentials"
  3. Type in the new credentials for the profile
  4. Notice that after entering the password and pressing the 'Enter' key, the "credential update" message shows, but all of the profiles have been removed from the tree

Expected behavior

Profiles should not be removed from the tree view after updating credentials for a specific profile.

Screenshots

ZE-Update-Creds-Bug

Desktop (please complete the following information):

github-actions[bot] commented 1 month 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.