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

Schema validation is broken for typeless base profiles #2302

Open
t1m0thyj opened this issue Oct 10, 2024 · 1 comment
Open

Schema validation is broken for typeless base profiles #2302

t1m0thyj opened this issue Oct 10, 2024 · 1 comment
Labels
bug Something isn't working new The issue wasn't triaged yet

Comments

@t1m0thyj
Copy link
Member

t1m0thyj commented Oct 10, 2024

Describe the bug

When using a typeless profile as a base profile and storing tokenValue as a secure field, then schema validation fails.

Expected and actual results

Since typeless profiles are often used as base profiles, I would expect that tokenValue property is supported in them.

For typeless profiles, the first item in the schema array definition gets used which is currently zosmf. We could fix this by re-ordering the schema array to put base profiles first, but will need to consider the impacts of this change.

Describe your environment

Schema created by Zowe CLI v8.0.1
Config edited in VS Code 1.94.1

Additional context

image

@t1m0thyj t1m0thyj added bug Something isn't working new The issue wasn't triaged yet labels Oct 10, 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working new The issue wasn't triaged yet
Projects
Status: New Issues
Development

No branches or pull requests

1 participant