zowe/zowe-explorer-vscode

Renaming a PDS does not update member nodes

Closed this issue · 2 comments

Describe the bug

When I rename a PDS in Zowe Explorer, then opening its members fails because their resource URI is not updated.

To Reproduce

  • Search for a dataset pattern that matches a PDS
  • Expand the PDS node to reveal members
  • Right-click the PDS node and select the Rename option
  • After renaming the PDS, click on one of its members
  • Notice the member fails to open because URI is outdated

Expected behavior

The resource URI stored on the member nodes should be updated when the PDS is renamed.

Screenshots

Desktop (please complete the following information):

  • OS:
  • Zowe Explorer Version:
  • (Optional) Zowe CLI Version:
  • (Optional) Are you using Secure Credential Store?

Additional context

Thank you for creating a bug report.
We will investigate the bug and evaluate its impact on the product.
If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.

This seems to only affect a PDS that's already expanded or has members open in the editor - that said, it was a quick fix so I put up a PR