You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an extender's profile yaml is edited outside of Zowe Explorer (e.g. via CLI or manually by the user), clicking the Zowe Explorer Refresh button for a tree does not pick up the change. Clicking the Refresh button will only update externally-edited z/OSMF profiles because profile types are not passed into Profiles.getInstance().getProfiles() when it is called in refreshTree, and "zosmf" is the default argument for this function.
Proposed solution: Pass in profile type as an argument to Profiles.getInstance().getProfiles() in the refreshTree function. Note that profile type is already a parameter for Profiles.getInstance().getProfiles() in the master branch code, but we just need to use it.
To Reproduce
Be sure the extender's profile is added in the Data Sets tree view. (This issue happens for any tree view, but I am just using the Data Sets view for simplicity here.)
Edit the extender's profile information via CLI, or by editing the profile's yaml file directly. For example, change the profile's port number.
Click the Refresh arrow button in the Data Sets view.
Click on the "Edit" icon for profile, and see that the profile's information (e.g. port number) was not changed.
Expected behavior
When the user clicks a tree's Refresh button, profile information for all profile types (i.e. z/OSMF and extenders) should be updated.
Desktop (please complete the following information):
OS: N/A
Zowe Explorer Version: 1.10.1
(Optional) Zowe CLI Version: 6.22.0
(Optional) Are you using Secure Credential Store? Issue happens both with and without SCS
The text was updated successfully, but these errors were encountered:
Describe the bug
If an extender's profile yaml is edited outside of Zowe Explorer (e.g. via CLI or manually by the user), clicking the Zowe Explorer Refresh button for a tree does not pick up the change. Clicking the Refresh button will only update externally-edited z/OSMF profiles because profile types are not passed into
Profiles.getInstance().getProfiles()
when it is called inrefreshTree
, and"zosmf"
is the default argument for this function.Proposed solution: Pass in profile type as an argument to
Profiles.getInstance().getProfiles()
in therefreshTree
function. Note that profile type is already a parameter forProfiles.getInstance().getProfiles()
in themaster
branch code, but we just need to use it.To Reproduce
Expected behavior
When the user clicks a tree's Refresh button, profile information for all profile types (i.e. z/OSMF and extenders) should be updated.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: