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

Removing parent of scheduled Content in draft state breaks ezplatform:scheduled:run

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • Customer request
    • 4.3.0, 3.3.28
    • None
    • Ibexa Commerce, Ibexa Content, Ibexa Experience
    • Yes

    Description

      Steps to reproduce:

      • start with clean Ibexa Experience v4.2.3
      • create Content as child of  Ibexa Digital Experience Platform > Ibexa Platform
      • do not Publish use Publish Later
        (important : choose today and current time - error only occurs when ezplatform:scheduled:run tries to publish the Content Item)
      • send folder Ibexa Platform to Trash
      • run scheduler command
        php bin/console ezplatform:scheduled:run

      Result:

      Command throws exception and exits:

      Starting publishing scheduled content
      Total scheduled for publication: 1
      Ready for publication: 1
      Processing:
       - "Folder" [2022-11-30T14:02:52+00:00] (id: 59, version: 1)...
      In DoctrineDatabase.php line 83:                                         
        Could not find 'location' with identifier '42'  
      

      Expected:

      • command should continue processing entries
      • orphaned scheduled entry should be removed

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              thorsten.reiter@ibexa.co Thorsten Reiter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: