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

Adding a new language in admin interface generates php errors

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: 5.1-dev
    • Component/s: None
    • Labels:
      None
    • Environment:

      RHEL 6.4
      PHP 5.3.3
      Mysql 5.1.61

      Description

      If you add a new language in admin interface you'll get the following error's in debug

      Error: PHP: E_RECOVERABLE_ERROR 	Mar 18 2013 11:52:11
       
      Argument 1 passed to eZ\Bundle\EzPublishLegacyBundle\Cache\PersistenceCachePurger::languages() must be an array, integer given in /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/Cache/PersistenceCachePurger.php on line 177
       
      Warning: PHP: E_WARNING 	Mar 18 2013 11:52:11
       
      Invalid argument supplied for foreach() in /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/Cache/PersistenceCachePurger.php on line 182
      

      Steps to reproduce
      1. Login to admin interface
      2. Open setup -> languages
      3. Add a new language
      4. Verify debug output

        Activity

        Hide
        Damien Pobel (Inactive) added a comment - - edited
        Show
        Damien Pobel (Inactive) added a comment - - edited Pull request: https://github.com/ezsystems/ezpublish-kernel/pull/275
        Show
        Damien Pobel (Inactive) added a comment - Fixed in ezpublish-kernel: master: http://github.com/ezsystems/ezpublish-kernel/commit/e93fbba4a02df7cf578e56dec45a81f10478cd95
        Hide
        Joao Pingo (Inactive) added a comment -

        Tested using tc-109
        Test passed ... Approved by QA

        Show
        Joao Pingo (Inactive) added a comment - Tested using tc-109 Test passed ... Approved by QA

          People

          • Assignee:
            Unassigned
            Reporter:
            Joao Pingo (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 4 hours
              4h