Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-30635

Reindex Command Infinite Loop when content-count % iteration-count === 0

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • 2.5.2, 1.7.10-rc1, 1.13.6-rc1
    • 1.7.9, 1.13.5, 2.5.1
    • Search
    • None

    Description

      When starting ezplatform:reindex command with content-count % iteration-count === 0 the command will restart (internally) on reaching 100%.

      https://github.com/ezsystems/ezpublish-kernel/blob/6.7/eZ/Bundle/EzPublishCoreBundle/Command/ReindexCommand.php#L366-L380

      Changing yield $contentIds to check if empty fixes the issue.

      if (!empty($contentIds)) {
          yield $contentIds;
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            s-konrad s-konrad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: