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

(Public API) creating/updating a new object is throwing a language exception

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.0, 5.1-dev
    • Fix Version/s: QA tracked issues, 5.1
    • Labels:
      None
    • Environment:

      RHEL 6.3
      PHP 5.3.3
      Mysql 5.1.61

    • Sprint:
      Stetind Sprint 7

      Description

      Every time i try to create or update an object using public API i get the following error

      There was 1 error:
      
      1) eZPublishAPIInteger::testTC1397CreateIntegerObject
      eZ\Publish\Core\Base\Exceptions\NotFoundException: Could not find 'Language' with identifier '0'
      
      /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Language/Cache.php:79
      /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Language/CachingHandler.php:110
      /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/ObjectState/Mapper.php:120
      /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/ObjectState/Mapper.php:143
      /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/ObjectState/Handler.php:115
      /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/ContentService.php:627
      /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/SignalSlot/ContentService.php:237
      /var/www/apache2php53/ezp5/ezpublish_testsystem/extension/ezpublishapitests/classes/ezpublishapitesthelper.php:780
      /var/www/apache2php53/ezp5/ezpublish_testsystem/extension/ezpublishapitests/tests/ezpublishapi/ezpublishapi/datatypes/integer/ezpublishapiinteger.php:154
      /var/www/apache2php53/ezp5/ezpublish_testsystem/extension/selenium/classes/ezpselenesetest.php:724
      /var/www/apache2php53/ezp5/ezpublish_testsystem/extension/ezpublishapitests/classes/ezpublishapitest.php:116
      /var/www/apache2php53/ezp5/ezpublish_testsystem/extension/ezpublishapitests/tests/ezpublishapi/ezpublishapi/datatypes/integer/ezpublishapiinteger.php:137
      /var/www/apache2php53/ezp5/ezpublish_testsystem/extension/selenium/classes/ezpselenesetest.php:753
      /var/www/apache2php53/ezp5/ezpublish_testsystem/tests/toolkit/ezptestrunner.php:372
      
      FAILURES!
      Tests: 1, Assertions: 22, Errors: 1.
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Joao.Pingo@ez.no Joao Pingo (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 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 - 2 hours, 30 minutes
                  2h 30m