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

Search engine indexing fails when empty Obejct State Group is present

    XMLWordPrintable

    Details

      Description

      When an empty Object State Group is present in the system the indexing does not index any Content (when using Solr) or fails with an error (Elastic).

      Setup:
      Configure ElasticSearch or Solr

      Steps to reproduce:
      1. Login as admin
      2. Go to Admin -> Object States
      3. Create a new Object State Group with name Test and identifier Test
      4. Run php bin/console ezplatform:reindex

      Expected:
      Indexing works as expected - Content Items are indexed

      Actual:
      ElasticSearch:
      Error is thrown:

      In Handler.php line 143:
      
        Cannot traverse an already closed generator
      

      Solr:
      No error is thrown, but no items are indexed.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            marek.nocon@ez.no Marek NocoĊ„
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: