Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.1.0
-
None
-
Operating System: Windows XP Pro
PHP Version: 5.2.1
Database and version: MySQL 5.0.27
Browser (and version): Mozilla Firefox 3.0.8
Description
In the Functions allTranslations() of the eZContentObjectState and eZContentObjectStateGroup is a Bug:
$allTranslations[] = new eZContentObjectStateGroupLanguage( $row );
Should be:
$allTranslations[$languageID] = new eZContentObjectStateGroupLanguage( $row );
Steps to reproduce
A eZ Publish 4.0.3 System with 'eng-GB', 'cro_hr', 'dut_nl', 'eng-AU' Locale.
Update to eZ Publish 4.1.0:
Error in addlockstategroup.php:
-No setAttribute() Function
Reason:
The $allTranslations will filling with 3 Languages and the 'eng-GB' Language added because the Index 2 (the LanguageId) is already available.
Attachments
Issue Links
- relates to
-
EZP-14624 upgrade 4.0 -> 4.1: addlockstategroup.php fails if sql mode is set to strict
- Closed