Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-4086

[Schedule hide] An exception occurred while php bin/console ezplatform:scheduled:run command is executed

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 3.3.29
    • 4.2.x-dev, 3.3.27, 4.2.2
    • None

    Description

      Steps to reproduce:

      1. Log in to back office.
      2. Go to Content / Content structure.
      3. Create a new content Folder.
      4. Schedule created content Folder to be hidden.
      5. Update table and entry in database: UPDATE user_id SET action_timestamp  = 1656354200  WHERE content_id = 172;
      6. Run command: php bin/console  ezplatform:scheduled:run

      Actual result:
      See attached screenshot.

      An exception occurred while php bin/console  ezplatform:scheduled:run command is executed.

      In CachedPermissionService.php line 88:  Argument 1 passed to Ibexa\Core\Repository\Permission\CachedPermissionService::setCurrentUserReference() must implement interface Ibexa\Contracts\Core\Repository\Values\User\UserReference, null given, called in /Users/bogdanmazur/flex/flexCommerce42xx/vendor/ibexa/sc
        heduler/src/bundle/Command/ScheduledRunCommand.php on line 156

      Expected result:

      No exception occurs.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              bogdan.mazur@ibexa.co Bogdan Mazur
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: