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

Error in addlockstategroup.php update script

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.1.1, 4.2.0alpha1
    • 4.1.0
    • Upgrading
    • 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

        Activity

          People

            bd bd
            sblank sblank
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: