zowe / zowe-explorer-vscode

Visual Studio Code Extension for Zowe, which lets users interact with z/OS Data Sets, Unix System Services, and Jobs on a remote mainframe instance. Powered by Zowe SDKs.
Eclipse Public License 2.0
159 stars 89 forks source link

Job Does Not Dissapear from UI After its Deletion #2884

Open rudyflores opened 2 months ago

rudyflores commented 2 months ago

Describe the bug

In Zowe Explorer, in the Jobs view when deleting a job from the view using the right-click action Delete Job, the Job does not dissappear from the UI although the Job was successfully deleted. I suspect this may be due to a missing refresh of the tree view for the profile being used in the Job view after the job is deleted from the remote.

To Reproduce

  1. Search for jobs using any Zowe profile
  2. Delete a job by right-clicking and selecting Delete Job
  3. Job will delete from remote but UI will still show
  4. Collapse Zowe profile in Job view
  5. Expand again, the job will no longer be there

Expected behavior

The Job should no longer be there once deleted.

Screenshots

Desktop (please complete the following information):

Additional context

github-actions[bot] commented 2 months ago

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.