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.onlyV1ProfilesExist may be wrong when called by extenders #2311

Closed
t1m0thyj opened this issue Oct 18, 2024 · 1 comment · Fixed by #2313
Closed

ProfileInfo.onlyV1ProfilesExist may be wrong when called by extenders #2311

t1m0thyj opened this issue Oct 18, 2024 · 1 comment · Fixed by #2313
Assignees
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

@t1m0thyj
Copy link
Member

t1m0thyj commented Oct 18, 2024

The onlyV1ProfilesExist method checks if ImperativeConfig.instance.config?.exists to determine if V2 profiles exist.

When an extender using the ProfileInfo API calls this method, ImperativeConfig.instance.config is undefined and profInfo.getTeamConfig().exists should be checked instead.

Related to zowe/zowe-explorer-vscode#3256

@t1m0thyj t1m0thyj added bug Something isn't working new The issue wasn't triaged yet labels Oct 18, 2024
@github-project-automation github-project-automation bot moved this to New Issues in Zowe CLI Squad Oct 18, 2024
Copy link

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.

@t1m0thyj t1m0thyj linked a pull request Oct 18, 2024 that will close this issue
4 tasks
@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 21, 2024
@JTonda JTonda moved this from New Issues to In Progress in Zowe CLI Squad Oct 21, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Closed in Zowe CLI Squad Nov 11, 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: Closed
Development

Successfully merging a pull request may close this issue.

2 participants