Skip to content

Conversation

@sebjulliand
Copy link
Member

Changes

LONG_COMMENT field in qsys2.sysroutines is VARGRAPHIC so the query used to fetch GETMBRINFO version crashes on systems with undefined Runtime CCSID since converting from CCSID 1200 to 65535 is not possible.

This PR casts LONG_COMMENT to VARCHAR to prevent the crash from happening.

How to test this PR

  1. Connect
  2. Open the connection settings
  3. Go to the Components tab
  4. GetMemberInfo must show (version 1): Installed (before the PR, with Runtime CCSID 65535, it would show (version 0): Error

Checklist

  • have tested my change

@sebjulliand sebjulliand added the bug A confirmed issue when something isn't working as intended label Dec 3, 2024
@sebjulliand sebjulliand self-assigned this Dec 3, 2024
@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2024

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

Copy link
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.

Simply lovely as Max would say. Thanks!

@sebjulliand sebjulliand merged commit 12742b5 into master Dec 3, 2024
3 checks passed
@sebjulliand sebjulliand deleted the fix/getMemberInfoStatus branch December 3, 2024 14:51
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.

3 participants