-
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
Type Error in ResetIndexesCommand.php #19430
Comments
The same error occurs in the following commands:
|
Hello @Rafelder , Didn't you upgrade your Symfony version in Because CE PIM requires Symfony 5.4, and we can see that the You're stil right about the type issue, but it should not throw error because it's only PhpDoc type on SF 5.4. Yet, we will have an issue if upgrading to Symfony 6.0+, because the shortcut will be typed |
I installed a fresh copy of Akeneo 7.0.10 (with smyfony 5.4) when the errors occured. I checked the typings of the addOption function and can confirm that the typing is only done in PhpDoc. I don't know why the critical errors occured in my case but they are gone now. I guess the issue can be closed. Thank you. |
This is still an issue in v7.0.19. When is this expected to be released in a Tag? Downgrading to symfony/console ^5.4 helps though. |
🐛 I'm reporting a Bug 🐛
There is a type error in the ResetIndexesCommand.php:
pim-community-dev/src/Akeneo/Tool/Bundle/ElasticsearchBundle/Command/ResetIndexesCommand.php
Lines 44 to 50 in ece09fc
The error prevents the console to be used without a command and prevent the use of the command
akeneo:elasticsearch:reset-indexes
completely.Steps to reproduce:
akeneo:elasticsearch:reset-indexes
I cant provide a system file, because the system page needs functioning ElasticSearch nodes and the bug prevents reseting the nodes.
The text was updated successfully, but these errors were encountered: