New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #969: Jobs with a hash in the name can't be opened #1253
Conversation
Signed-off-by: katelynienaber <katelyn.nienaber@broadcom.com>
@zFernand0 Requesting your review, because there is a vulnerability reported? In package |
I believe updating to the latest version of the CLI is still on our best interest. Since Hopefully the same changelog can help us find any possible quirks the extensions may have. 😋 |
After a quick update to the entire yarn.lock file, seems like the CLI vulnerabilities have been resolved (on version 6.29.0). public getLabel(): string {
return this.label.trim();
// This fails becuase `typeof this.label === 'string | TreeItemLabel'` and there is no `.trim()` on TreeItemLabel
// Instead we have to...
return typeof this.label === "string" ? this.label.trim() : this.label?.label.trim();
} @VitGottwald, @phaumer, thoughts? |
Signed-off-by: zFernand0 <fernando.rijocedeno@broadcom.com>
@katelynienaber Can you please check the theia tests here as well? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know that the change that you have here is very simple but I don't know why you have 8 files edited. Is it because you executed prettify? Is this really a change or was it an accident?
Signed-off-by: chladnefazole <nienaber@protonmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me! All unit and expected integration tests are passing, and I'm now able to open spool files from a job with a #
character in the name.
Thanks @katelynienaber for this fix!
@katelynienaber This works for me as well however I am experiencing issues with Integration tests. I have errors in rename and create datasets
Is this also happening to you? |
@jellypuno those two tests are passing for me, maybe as well for @lauren-li ? |
ok then so maybe it is just my set-up. thanks for checking! |
I had no issues with the copy data set test. The "match data sets for multiple patterns" test always times out for me, even on |
Proposed changes
It's a fix for Issue #969. I didn't have trouble with the issue mentioned there. But the job output couldn't be opened, because function
vscode.Uri.parse
was interpreting the # incorrectly.Fixed by using function
vscode.Uri.parse().with()
instead, to more explicitly parse the job info as an URI.Release Notes
Milestone: Backlog
Changelog: Fixed error when showing job output, for jobs that have a hash character (#) in the name.
Types of changes
What types of changes does your code introduce to Zowe Explorer?
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This checklist will be used as reference for both the contributor and the revieweryarn workspace vscode-extension-for-zowe vscode:prepublish
has been executedFurther comments
This was reported by at least two customers and should probably be merged ASAP.