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

Correctly check GetNewLibl component state #2437

Merged
merged 3 commits into from
Jan 7, 2025

Conversation

sebjulliand
Copy link
Collaborator

Changes

GetNewLibl component state was not checked as it should. Instead of being checked in the corresponding component, it was added to the IBMi::remoteApps global array to be checked as a remote feature. This caused two issues:

  • The actual version of GetNewLibl was not checked
  • A new entry for checking GetNewLibl was added to the global array with each 'non-quick connect' connection attempts
    image

This PR fixes this by:

  • Not checking GetNewLibl as a remote feature anymore
  • Handling GetNewLibl version in its component object

How to test this PR

  1. Connect
  2. Check that GetNewLibl procedure get created in the connection temporary library with the version in its comment

Checklist

  • have tested my change

Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
@sebjulliand sebjulliand added the bug A confirmed issue when something isn't working as intended label Dec 27, 2024
@sebjulliand sebjulliand self-assigned this Dec 27, 2024
Copy link
Contributor

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

Copy link
Contributor

@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.

Tested and it works - merge away!

@sebjulliand
Copy link
Collaborator Author

Brilliant, thanks!

@sebjulliand sebjulliand merged commit 672d13d into master Jan 7, 2025
3 checks passed
@worksofliam worksofliam linked an issue Jan 29, 2025 that may be closed by this pull request
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.

Command Profile not executing, gives error
2 participants