Details
-
Bug
-
Resolution: Duplicate
-
Medium
-
None
-
3.9.0
-
None
Description
I have 2 contentclasses as a package which I want to install during my setup.
But it fails when user is not installing ezp with all languages that are in the content classes are translated to.
array 'ger-DE' => boolean false 'eng-GB' => object(ezcontentlanguage) var 'PersistentDataDirty' => boolean false var 'ID' => string '2' (length=1) var 'Name' => string 'English (United Kingdom)' (length=24) var 'Locale' => string 'eng-GB' (length=6) var 'Disabled' => string '0' (length=1) ( ! ) Fatal error: Call to a member function on a non-object in /path/to/ezpublish/ezpublish-3.9.0/kernel/classes/ezcontentclassnamelist.php on line 66 Call Stack # Time Memory Function Location 1 0.0033 333008 {main}( ) ../index.php:0 2 0.0733 3439840 ezmodule->run( ) ../index.php:768 3 0.0737 3452872 ezprocess::run( ) ../ezmodule.php:1179 4 0.0738 3453088 ezprocess->runfile( ) ../ezprocess.php:51 5 0.0744 3507264 include( '/path/to/ezpublish/ezpublish-3.9.0/kernel/setup/ezsetup.php' ) ../ezprocess.php:74 6 0.2189 12398248 ezstepcreatesites->init( ) ../ezsetup.php:207 7 0.2395 13753032 ezstepcreatesites->initializepackage( ) ../ezstep_create_sites.php:180 8 2.5995 16437592 ezpackage->install( ) ../ezstep_create_sites.php:834 9 2.5996 16437592 ezpackage->installitem( ) ../ezpackage.php:1898 10 2.6582 16988192 ezcontentclasspackagehandler->install( ) ../ezpackage.php:1880 11 2.6623 17011864 ezcontentclass->store( ) ../ezcontentclasspackagehandler.php:265 12 2.6685 17021856 ezcontentclassnamelist->store( ) ../ezcontentclass.php:1017 Fatal error: eZ publish did not finish its request The execution of eZ publish was abruptly ended, the debug output is present below.
Steps to reproduce
1. create a content class in eng-GB and translate it to for example ger-DE
2. export it as a package
3. install it with ezp. ( you need an additional site package )
4. select only one of the both languages.