Skip to content

Commit

Permalink
Unable to open a Renamed Sequential DS (#3439)
Browse files Browse the repository at this point in the history
* To reassign command for renamed seq ds

Signed-off-by: Santhoshi Boyina <[email protected]>

* chore: Update ZE changelog

Signed-off-by: Santhoshi Boyina <[email protected]>

* chore: to update ZE changelog file

Signed-off-by: Santhoshi Boyina <[email protected]>

* To fix error seen with rename of sequential data set

Signed-off-by: Santhoshi Boyina <[email protected]>

---------

Signed-off-by: Santhoshi Boyina <[email protected]>
  • Loading branch information
SanthoshiBoyina1 authored Feb 8, 2025
1 parent eeeaf84 commit 51d6ab4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/zowe-explorer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ All notable changes to the "vscode-extension-for-zowe" extension will be documen

- Fixed an issue where a TypeError occurred when applying VS Code proxy settings to an invalid session. [#3425](https://github.com/zowe/zowe-explorer-vscode/issues/3425)
- Fixed issue where the 'Delete' key binding for the USS tree returns a 'contextValue' error. [#2796](https://github.com/zowe/zowe-explorer-vscode/issues/2796)
- Fixed an issue where user is unable to open a renamed sequential data set from the Data Sets tree view.. [#3345](https://github.com/zowe/zowe-explorer-vscode/issues/3345)

## `3.1.0`

Expand Down
6 changes: 6 additions & 0 deletions packages/zowe-explorer/src/trees/dataset/DatasetTree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1419,6 +1419,12 @@ export class DatasetTree extends ZoweTreeProvider<IZoweDatasetTreeNode> implemen
arguments: [child.resourceUri],
};
}
} else if (node.contextValue === Constants.DS_DS_CONTEXT || node.contextValue === Constants.DS_FAV_CONTEXT) {
node.command = {
title: "",
command: "vscode.open",
arguments: [node.resourceUri],
};
}

this.refreshElement(node.getParent() as IZoweDatasetTreeNode);
Expand Down

0 comments on commit 51d6ab4

Please sign in to comment.