Schema validation is broken for typeless base profiles #2302
Labels
bug
Something isn't working
priority-low
Legit issue but cosmetic or nice-to-have
severity-low
Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases
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
The text was updated successfully, but these errors were encountered: