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
170 stars 92 forks source link

FTP profiles throw error after new credentials entered after 401 #2337

Open JillieBeanSim opened 1 year ago

JillieBeanSim commented 1 year ago

Describe the bug

issue created from comments in PR

Screen Shot 2023-06-13 at 8 50 54 AM

regularly recreate the popup error message @zFernand0 mentioned and found the issue, in Profiles.checkCurrentProfile we set the status as invalid in catches and should prob be unverified since something went wrong. Profiles.ts line 101 returns empty profileStatus object and line 1129 validateProfiles sets it as inactive in catch. If we like the empty object we should just return that in validateProfiles catch or return them as unverified in the catches.

To Reproduce

Expected behavior

Screenshots

Desktop (please complete the following information):

Additional context

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