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

copy-ds: The CLI command overwrites the contents instead of prompting the user to confirm #2369

Open
zFernand0 opened this issue Nov 18, 2024 · 2 comments
Assignees
Labels
bug Something isn't working priority-high Production outage - this quarter or at least next quarter severity-high Bug for which there may be workaround but limits the usage of the Zowe for major use cases

Comments

@zFernand0
Copy link
Member

Describe the bug

zowe files copy ds "HLQ.TEST.PS0" "HLQ.TEST.PS1" doesn't warn about potential data loss

Expected and actual results

To be warned/prompted (using the --replace flag maybe) in case the target/to dataset exists

Describe your environment

  • Zowe CLI version installed (run command zowe --version): 8.8.0
  • Installed plug-ins and their version numbers (run command zowe plugins list --short): none
  • Node.js and NPM versions installed (run node --version, npm --version): 20.18.0 & 10.8.2
  • Environment variables in use: N/A
  • Operating system and version: MacOS
  • Shell/terminal (bash, cmd, powershell, etc...): zsh
  • Daemon mode enabled or disabled: No

Additional context

This was discovered by @pujal0909 (Thank you! 🙏 ) when researching:

@zFernand0 zFernand0 added bug Something isn't working new The issue wasn't triaged yet labels Nov 18, 2024
@github-project-automation github-project-automation bot moved this to New Issues in Zowe CLI Squad Nov 18, 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.

@JTonda JTonda added priority-high Production outage - this quarter or at least next quarter severity-high Bug for which there may be workaround but limits the usage of the Zowe for major use cases and removed new The issue wasn't triaged yet labels Nov 25, 2024
@zowe-robot zowe-robot moved this from New Issues to High Priority in Zowe CLI Squad Nov 25, 2024
@JTonda JTonda assigned zFernand0 and ATorrise and unassigned zFernand0 Nov 25, 2024
@JTonda
Copy link

JTonda commented Nov 25, 2024

Note: Support a callback for sdk usage.

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-high Production outage - this quarter or at least next quarter severity-high Bug for which there may be workaround but limits the usage of the Zowe for major use cases
Projects
Status: High Priority
Development

No branches or pull requests

3 participants