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

[patch included] Content indexing crashes

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.10.0alpha1, 3.8.8, 3.9.2
    • 3.8.7, 3.9.1
    • None

    Description

      Cronjob indexing content crashes, if there's not version for an object to be indexed. The currentVersion object is being used without any check for its existance.

      Fix is trivial.

      Sample output:

      Running cronjobs/indexcontent.php Indexing object ID #284 Fatal error: Call to a member function on a non-object in /ez/master/kernel/search/plugins/ezsearchengine/ezsearchengine.php on line 74 Fatal error: eZ publish did not finish it's request The execution of eZ publish was abruptly ended, the debug output is present below.

      Steps to reproduce
      • set DelayedIndexing in site.ini to enabled
      • enable cronjob for content indexing
      • add or change some contentobjects in a way so there's no contentobject version
      • the indexer crashes

      Attachments

        Activity

          People

            oms Ole Marius Smestad
            dexen dexen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: