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

Cron Command is not registering if it has $defaultDescription field #1103

Open
yaroslavbr opened this issue Jun 16, 2023 · 2 comments
Open

Comments

@yaroslavbr
Copy link
Contributor

Summary
Cron Command is not registering if it has $defaultDescription field

Steps to reproduce

Actual Result
Definition is not loaded I see such notification:
Processing command "oro:cron:madia:xml-export-orders": Skipping, the command does not implement CronCommandInterface

Expected Result
Command defition should be successfully loaded

Details about your environment
oro/platform | 5.0.11
oro/platform-enterprise | 5.0.9

  • PHP version: 8.1
  • PostgreSQL
    Additional information
    I set breakpoint in CronDefinitionsLoadCommand::checkCommand and see LazyCommand instance instead actual one. Adding defaultDescription marks command as a lazy, and make not possible to load definitions
@anyt
Copy link
Contributor

anyt commented Jun 16, 2023

Internal ticket id #BAP-20861

@yaroslavbr
Copy link
Contributor Author

@anyt thanks for a fast response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants