Handle profile creation/update for ZE extender profiles requiring credentials when the user leaves them blank #1619
Labels
API Extender
Issues that allow Zowe Explorer to be extended externally
bug
Something isn't working
v1-profiles
relating specifically to v1 profiles management
Describe the bug
If a user has the Secure Credential Store (SCS) plug-in for Zowe CLI installed, and is attempting to create a no-credentials (i.e. no username or password) profile for a Zowe Explorer extender whose profile type specifies that username and password are required, they will see an error about secure fields upon profile creation. The next time they restart VS Code, Zowe Explorer activation fails with the same error.
I first saw this issue when testing the Zowe Explorer Extension for FTP, but when @jellypuno and I modified the extender's
zftp_meta.yaml
file to setrequired: false
for theuser
andpassword
properties, the issue went away and we were able to successfully create no-credentials zFTP profiles in Zowe Explorer with SCS installed.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Zowe Explorer:
Zowe Explorer Extension for FTP/z/OS FTP Plug-in for Zowe CLI:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: