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

Can't index data in solrBundle

    XMLWordPrintable

Details

    Description

      Objects without states cause the solr index to fail.

      Some data on the demo content makes this issue to happen.
      Objects 102-104 don't have any row in ezcobj_state_link and that makes the indexing fail. Adding states to these objects will solve the issue.

      Object 101 is not a complete object and the indexing also fails because of that.
      Removing all traces of that object will make solr indexing to continue without breaking on this particular object.

      Steps to reproduce:

      Run php app/console --env=prod ezplatform:solr_create_index
      It will generate the following:

      Indexing Content...
      
       48/57 [=======================>----]  84%
      
       
      
        [eZ\Publish\Core\Base\Exceptions\NotFoundException]
      
        Could not find 'content' with identifier 'contentId: 101, versionNo: 1'
      
       
      
       
      
      ezplatform:solr_create_index [<bulk_count>]
      

      Tested with the following package versions:

      ezsystems/ezplatform-solr-search-engine v1.0.2.2
      ezsystems/ezpublish-kernel v6.2.1
      ezsystems/ezstudio-demo-bundle v1.2.0
      ezsystems/ezstudio-demo-bundle-data v1.2.0
      ezsystems/platform-ui-bundle v1.2.1
      ezsystems/studio-ui-bundle v1.2.4

      Attachments

        Activity

          People

            Unassigned Unassigned
            ricardo.correia-obsolete@ez.no Ricardo Correia (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 4 hours
                2d 4h