Skip to content

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

Open
@yaroslavbr

Description

@yaroslavbr

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions