Affects Version/s: 3.8.7, 3.9.1
Operating System: FreeBSD, doesn't matter
PHP Version: (please be specific, like '4.4.3' or '5.1.5') 4.4.4, should not matter
Database and version: MySQL, 5.0.13, should not matter
Browser (and version): Konqueror 3.5.6, doesn't matter
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.
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.
- 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