-
Notifications
You must be signed in to change notification settings - Fork 518
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
Commands fail with "An option shortcut cannot be empty." #20393
Comments
This issue is manifesting in Akeneo editions that depend on Symfony 5.4.* now..
I found this related issue |
Same here. As a workaround I lock Symfony Console version into
|
Hello @cypx, in which composer.json do you modify or add this line please ? |
@ETEML17 this one https://github.com/akeneo/pim-community-standard/blob/v7.0.50/composer.json, it's the one you found at the root of your composer project when you do manual installation ( https://docs.akeneo.com/7.0/install_pim/manual/installation_ce.html )
|
Hi @ETEML17 - in your projects composer.json Just run |
Several commands contain invalid option configuration code resulting into exceptions starting with symfony/console 5.4.35
Example:
pim-community-dev/src/Akeneo/Pim/Enrichment/Bundle/Command/CalculateCompletenessCommand.php
Line 61 in 9f31b05
Symfony code triggering the error:
https://github.com/symfony/console/blame/dbdf6adcb88d5f83790e1efb57ef4074309d3931/Input/InputOption.php#L85C53-L85C88
The text was updated successfully, but these errors were encountered: