From 7ae63e5ae42f4ed2fb6498aa8472aabf5b00d022 Mon Sep 17 00:00:00 2001 From: Trae Yelovich Date: Tue, 1 Oct 2024 15:49:33 -0400 Subject: [PATCH 1/4] fix(ZoweDatasetNode): Add contextOverride to PS node Signed-off-by: Trae Yelovich --- packages/zowe-explorer/CHANGELOG.md | 2 ++ packages/zowe-explorer/src/trees/dataset/ZoweDatasetNode.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/packages/zowe-explorer/CHANGELOG.md b/packages/zowe-explorer/CHANGELOG.md index f154cc7ae..660e17e39 100644 --- a/packages/zowe-explorer/CHANGELOG.md +++ b/packages/zowe-explorer/CHANGELOG.md @@ -8,6 +8,8 @@ All notable changes to the "vscode-extension-for-zowe" extension will be documen ### Bug fixes +- Fixed an issue where opening sequential data sets within favorited searches resulted in an error. + ## `3.0.0-next.202409251932` ### New features and enhancements diff --git a/packages/zowe-explorer/src/trees/dataset/ZoweDatasetNode.ts b/packages/zowe-explorer/src/trees/dataset/ZoweDatasetNode.ts index f2b273dee..b647f69cc 100644 --- a/packages/zowe-explorer/src/trees/dataset/ZoweDatasetNode.ts +++ b/packages/zowe-explorer/src/trees/dataset/ZoweDatasetNode.ts @@ -314,6 +314,7 @@ export class ZoweDatasetNode extends ZoweTreeNode implements IZoweDatasetTreeNod parentNode: this, encoding: cachedEncoding, profile: cachedProfile, + contextOverride: Constants.DS_DS_CONTEXT, }); elementChildren[dsNode.label.toString()] = dsNode; } else if (item.member) { From 90dcce49a9d3966186a2f810064e606a3c905094 Mon Sep 17 00:00:00 2001 From: Trae Yelovich Date: Tue, 1 Oct 2024 15:55:52 -0400 Subject: [PATCH 2/4] chore: add PR number to ZE changelog Signed-off-by: Trae Yelovich --- packages/zowe-explorer/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/zowe-explorer/CHANGELOG.md b/packages/zowe-explorer/CHANGELOG.md index 660e17e39..674e62124 100644 --- a/packages/zowe-explorer/CHANGELOG.md +++ b/packages/zowe-explorer/CHANGELOG.md @@ -8,7 +8,7 @@ All notable changes to the "vscode-extension-for-zowe" extension will be documen ### Bug fixes -- Fixed an issue where opening sequential data sets within favorited searches resulted in an error. +- Fixed an issue where opening sequential data sets within favorited searches resulted in an error. [#3163](https://github.com/zowe/zowe-explorer-vscode/pull/3163) ## `3.0.0-next.202409251932` From c089a9b6b956c774f6ad4202c9664a6baf03492c Mon Sep 17 00:00:00 2001 From: Trae Yelovich Date: Tue, 1 Oct 2024 16:25:36 -0400 Subject: [PATCH 3/4] fix: Add check for binary in contextOverride Signed-off-by: Trae Yelovich --- packages/zowe-explorer/src/trees/dataset/ZoweDatasetNode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/zowe-explorer/src/trees/dataset/ZoweDatasetNode.ts b/packages/zowe-explorer/src/trees/dataset/ZoweDatasetNode.ts index b647f69cc..399123567 100644 --- a/packages/zowe-explorer/src/trees/dataset/ZoweDatasetNode.ts +++ b/packages/zowe-explorer/src/trees/dataset/ZoweDatasetNode.ts @@ -314,7 +314,7 @@ export class ZoweDatasetNode extends ZoweTreeNode implements IZoweDatasetTreeNod parentNode: this, encoding: cachedEncoding, profile: cachedProfile, - contextOverride: Constants.DS_DS_CONTEXT, + contextOverride: cachedEncoding?.kind === "binary" ? Constants.DS_DS_BINARY_CONTEXT : Constants.DS_DS_CONTEXT, }); elementChildren[dsNode.label.toString()] = dsNode; } else if (item.member) { From 80ceae7775118d7c173026d4703ede72bd36574f Mon Sep 17 00:00:00 2001 From: Trae Yelovich Date: Wed, 2 Oct 2024 08:24:56 -0400 Subject: [PATCH 4/4] chore: missing newline in ZE changelog Signed-off-by: Trae Yelovich --- packages/zowe-explorer/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/zowe-explorer/CHANGELOG.md b/packages/zowe-explorer/CHANGELOG.md index d0c0ddf4b..6a503b914 100644 --- a/packages/zowe-explorer/CHANGELOG.md +++ b/packages/zowe-explorer/CHANGELOG.md @@ -7,6 +7,7 @@ All notable changes to the "vscode-extension-for-zowe" extension will be documen ### New features and enhancements ### Bug fixes + - Fixed an issue where opening sequential data sets within favorited searches resulted in an error. [#3163](https://github.com/zowe/zowe-explorer-vscode/pull/3163) ## `3.0.0`