You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static public $defaultDescription = 'Exports orders to xml';
run bin/console oro:cron:definitions:load to load definitions
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
The text was updated successfully, but these errors were encountered:
Summary
Cron Command is not registering if it has $defaultDescription field
Steps to reproduce
static public $defaultDescription = 'Exports orders to xml';
bin/console oro:cron:definitions:load
to load definitionsActual 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
Additional information
I set breakpoint in
CronDefinitionsLoadCommand::checkCommand
and seeLazyCommand
instance instead actual one. Adding defaultDescription marks command as a lazy, and make not possible to load definitionsThe text was updated successfully, but these errors were encountered: