Skip to content

Fixed download of members with variant characters#2746

Merged
sebjulliand merged 1 commit intomasterfrom
fix/variantMembersDownload
Jun 24, 2025
Merged

Fixed download of members with variant characters#2746
sebjulliand merged 1 commit intomasterfrom
fix/variantMembersDownload

Conversation

@sebjulliand
Copy link
Copy Markdown
Member

Changes

Fixes #2728

Downloading a member with the $ or à variant characters would fail because:

  • $ was escaped by Tools.qualifyPath
  • à would be uppercased when CPYTOSTMF was run (don't know exactly why...it is sent lowercased by us)

Using a dummy member name while transferring the member to a stream file fixes both issues.

How to test this PR

  1. Create a member with $ (CSSID 37 or 297) or à (CSSID 297) in its name
  2. Right click and download it

Checklist

  • have tested my change

Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
@sebjulliand sebjulliand requested a review from worksofliam June 19, 2025 15:37
@sebjulliand sebjulliand self-assigned this Jun 19, 2025
@sebjulliand sebjulliand added the bug A confirmed issue when something isn't working as intended label Jun 19, 2025
@github-actions
Copy link
Copy Markdown
Contributor

👋 A new build is available for this PR based on 14e3e14.

Copy link
Copy Markdown
Member

@worksofliam worksofliam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes are good but long term strategy here is to move this logic and using runSql out of the object explorer class and into IBMiContent..

@sebjulliand sebjulliand merged commit c3f591e into master Jun 24, 2025
4 checks passed
@sebjulliand sebjulliand deleted the fix/variantMembersDownload branch June 24, 2025 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug A confirmed issue when something isn't working as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Members that start with special characters that can not be created as output on a windows device

2 participants