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

A new parameter to copyPDS introduces a breaking change #2451

Open
gejohnston opened this issue Mar 5, 2025 · 1 comment · May be fixed by #2453
Open

A new parameter to copyPDS introduces a breaking change #2451

gejohnston opened this issue Mar 5, 2025 · 1 comment · May be fixed by #2453
Assignees
Labels
bug Something isn't working new The issue wasn't triaged yet

Comments

@gejohnston
Copy link
Member

Describe the bug

The copyPDS function in zosfiles/src/methods/copy/Copy.ts recently introduced a new required parameter named sourceMemberList. This is a breaking change to the existing copyPDS function.

The new function signature is:

public static async copyPDS (
    session: AbstractSession,
    sourceMemberList: string[],
    fromPds: string,
    toPds: string
)

Expected and actual results

We should consider re-implementing the function so that it remains non-breaking and re-publish the function before extenders have an opportunity to encounter breakage to existing 3rd party software that uses the copyPDS function.

Describe your environment

Additional context

@gejohnston gejohnston added bug Something isn't working new The issue wasn't triaged yet labels Mar 5, 2025
@github-project-automation github-project-automation bot moved this to New Issues in Zowe CLI Squad Mar 5, 2025
Copy link

github-actions bot commented Mar 5, 2025

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.

@jace-roell jace-roell self-assigned this Mar 7, 2025
@jace-roell jace-roell linked a pull request Mar 7, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working new The issue wasn't triaged yet
Projects
Status: New Issues
Development

Successfully merging a pull request may close this issue.

2 participants