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

Aborting acms:install leaves code changes to project that cause failures when trying to run acms:install again #38

Open
lauriii opened this issue Jun 29, 2022 · 0 comments

Comments

@lauriii
Copy link
Contributor

lauriii commented Jun 29, 2022

If acms acms:install exists without completing after it has modified composer.json, the project is left in a corrupted state because the command leaves code changes in place that prevent running the command again. In practice this prevents running acms acms:install again after aborting acms acms:install before completion.

Steps for reproducing

  1. Create new ACMS project and require ACMS starterkit
  2. Run ./vendor/bin/acms acms:install and select Acquia CMS Headless
  3. Complete CLI steps until Mysql settings and abort command
  4. Run ./vendor/bin/acms acms:install again and select Acquia CMS Headless
  5. Complete CLI steps until the composer step. The CLI tool should fail to execute the composer commands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant