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

Zowe commands with --help fail if config file cannot be parsed #2293

Open
traeok opened this issue Oct 7, 2024 · 1 comment · May be fixed by #2301
Open

Zowe commands with --help fail if config file cannot be parsed #2293

traeok opened this issue Oct 7, 2024 · 1 comment · May be fixed by #2301
Assignees
Labels
bug Something isn't working priority-high Production outage - this quarter or at least next quarter severity-high Bug for which there may be workaround but limits the usage of the Zowe for major use cases

Comments

@traeok
Copy link
Member

traeok commented Oct 7, 2024

Describe the bug

If you have a zowe.config.json file that has errors or missing JSON content, an error will appear instead of the help text when running a Zowe CLI command with the --help argument.

Expected and actual results

Expected: Help text appears regardless of contents in the zowe.config.json file.
Actual: The following error message appears and no help text is shown
image

Describe your environment

  • Zowe CLI version installed (run command zowe --version): 8.1.1
  • Installed plug-ins and their version numbers (run command zowe plugins list --short):
  • Node.js and NPM versions installed (run node --version, npm --version): Node 20, latest NPM
  • Environment variables in use:
  • Operating system and version: Windows 10
  • Shell/terminal (bash, cmd, powershell, etc...): PowerShell
  • Daemon mode enabled or disabled: Disabled
  • For more information, see Gathering information to troubleshoot Zowe CLI

Additional context

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

github-actions bot commented Oct 7, 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.

@traeok traeok changed the title Zowe commands fail if config file cannot be parsed Zowe commands with --help fail if config file cannot be parsed Oct 7, 2024
@JTonda JTonda added priority-high Production outage - this quarter or at least next quarter severity-high Bug for which there may be workaround but limits the usage of the Zowe for major use cases and removed new The issue wasn't triaged yet labels Oct 7, 2024
@ATorrise ATorrise linked a pull request Oct 9, 2024 that will close this issue
4 tasks
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-high Production outage - this quarter or at least next quarter severity-high Bug for which there may be workaround but limits the usage of the Zowe for major use cases
Projects
Status: Review/QA
Development

Successfully merging a pull request may close this issue.

3 participants