Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12686

CLI cron:run doesn't load extensions

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.1.0-b4
    • Fix Version/s: 3.1.0-RC1
    • Component/s: CLI, Extensions
    • Labels:
      None

      Description

      This might be related to PHPBB3-12685. Created after posting to https://area51.phpbb.com/phpBB/viewtopic.php?p=265837

      my extension services.yml :

          rfd.cron.my_cron:
              class: rfd\extension\cron\my_cron
              arguments:
                  - @request
                  - @config
                  - @dbal.conn
              calls:
                  - [set_name, [rfd.cron.my_cron]]
              tags:
                  - { name: cron.task }
      

      Debugging the service collection, shows that it doesn't locate the extension service.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                prototech prototech [X] (Inactive)
                Reporter:
                rfdy rfdy [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: