Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProfileInfo.profileManagerWillLoad fails if readProfilesFromDisk was not yet called #2284

Open
traeok opened this issue Oct 2, 2024 · 1 comment
Labels
bug Something isn't working priority-medium Not functioning - next quarter if capacity permits severity-medium Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.

Comments

@traeok
Copy link
Member

traeok commented Oct 2, 2024

Describe the bug

ProfileInfo.profileManagerWillLoad was added to check if the credential manager exists before loading profiles (using readProfilesFromDisk). However, if you haven't called readProfilesFromDisk yet and you call ProfileInfo.profileManagerWillLoad, it will throw an error.

Expected and actual results

Expected: ProfileInfo.profileManagerWillLoad returns true or false regardless of whether profiles have been read from disk.
Actual: ProfileInfo.profileManagerWillLoad throws an error if profiles weren't yet read from disk.

@traeok traeok added bug Something isn't working new The issue wasn't triaged yet labels Oct 2, 2024
Copy link

github-actions bot commented Oct 2, 2024

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.

@JTonda JTonda added priority-medium Not functioning - next quarter if capacity permits severity-medium Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex. and removed new The issue wasn't triaged yet labels Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-medium Not functioning - next quarter if capacity permits severity-medium Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.
Projects
Status: Medium Priority
Development

No branches or pull requests

2 participants