Skip to content
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

getSpoolContentById not converted with proper character encoding #2683

Open
JillieBeanSim opened this issue Jan 24, 2024 · 4 comments
Open
Labels
bug Something isn't working priority-medium Not functioning - next quarter if capacity permits severity-medium Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.

Comments

@JillieBeanSim
Copy link
Contributor

Describe the bug

viewing spool files in Zowe Explorer jobs view is not converting with proper encoding
from what I see the zosmf cli call takes the session which should have the profile's encoding but doesn't seem to be used
zowe.GetJobs.getSpoolContentById(this.getSession(), jobname, jobid, spoolId)
looking at the zosmf rest api swagger the GET /records accepts a fileEncoding value
Screenshot 2024-01-24 at 10 31 01 AM

Expected behavior

profile encoding to be supported when downloading content of spool files and the file is converted correctly

Screenshots

Desktop (please complete the following information):

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

Additional context

@JillieBeanSim JillieBeanSim added the bug Something isn't working label Jan 24, 2024
Copy link

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.

@JillieBeanSim
Copy link
Contributor Author

Depends on cli issue zowe/zowe-cli#876

@t1m0thyj
Copy link
Member

t1m0thyj commented Jan 24, 2024

This is blocked by zowe/zowe-cli#1822

We have already done the work on the Zowe client side to enable codepages for spool files, but the PR is still in draft mode because we have a ticket open with IBM regarding the z/OSMF encoding option not working as expected.

@JTonda JTonda added priority-medium Not functioning - next quarter if capacity permits severity-medium Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex. labels Jan 30, 2024
@awharn
Copy link
Member

awharn commented May 16, 2024

This is now unblocked as of Zowe CLI/SDKs 7.25.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-medium Not functioning - next quarter if capacity permits severity-medium Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.
Projects
Status: Medium Priority
Development

No branches or pull requests

4 participants