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

Press <Enter> in repository form raises a notification error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: QA tracked issues, 2015.09.1
    • Fix Version/s: 2015.11
    • Environment:

      Operating System: CentOS 7.0 x64
      PHP Version: 5.4.16
      Database and version: Mariadb 5.5
      Browser (and version): Chrome 45

      Description

      Steps to Reproduce
      • Create a role, or section, or content type, or content type group (don't click "save" button)
      • Fill in the name/identifier (and any other required fields)
      • Press the <Enter> key

      The notificaton below is shown:

      Error: Call to a member function getName() on a non-object
      

      in apache log, i have

      [Fri Oct 09 15:02:59.663164 2015] [:error] [pid 2333] [client 192.168.2.38:51604] PHP Fatal error:  Call to a member function getName() on a non-object in /var/www/html/ezpublish5/vendor/ezsystems/platform-ui-bundle/Controller/RoleController.php on line 136, referer: http://ezp5.paulo/ez
      [Fri Oct 09 15:02:59.663606 2015] [:error] [pid 2333] [client 192.168.2.38:51604] PHP Stack trace:, referer: http://ezp5.paulo/ez
      [Fri Oct 09 15:02:59.663671 2015] [:error] [pid 2333] [client 192.168.2.38:51604] PHP   1. {main}() /var/www/html/ezpublish5/web/index.php:0, referer: http://ezp5.paulo/ez
      [Fri Oct 09 15:02:59.663682 2015] [:error] [pid 2333] [client 192.168.2.38:51604] PHP   2. FOS\\HttpCacheBundle\\SymfonyCache\\EventDispatchingHttpCache->handle() /var/www/html/ezpublish5/web/index.php:66, referer: http://ezp5.paulo/ez
      [Fri Oct 09 15:02:59.663690 2015] [:error] [pid 2333] [client 192.168.2.38:51604] PHP   3. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->handle() /var/www/html/ezpublish5/vendor/friendsofsymfony/http-cache-bundle/SymfonyCache/EventDispatchingHttpCache.php:122, referer: http://ezp5.paulo/ez
      [Fri Oct 09 15:02:59.663698 2015] [:error] [pid 2333] [client 192.168.2.38:51604] PHP   4. eZ\\Bundle\\EzPublishCoreBundle\\HttpCache->invalidate() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:210, referer: http://ezp5.paulo/ez
      [Fri Oct 09 15:02:59.663706 2015] [:error] [pid 2333] [client 192.168.2.38:51604] PHP   5. FOS\\HttpCacheBundle\\SymfonyCache\\EventDispatchingHttpCache->invalidate() /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/HttpCache.php:39, referer: http://ezp5.paulo/ez
      [Fri Oct 09 15:02:59.663713 2015] [:error] [pid 2333] [client 192.168.2.38:51604] PHP   6. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->invalidate() /var/www/html/ezpublish5/vendor/friendsofsymfony/http-cache-bundle/SymfonyCache/EventDispatchingHttpCache.php:161, referer: http://ezp5.paulo/ez
      [Fri Oct 09 15:02:59.663720 2015] [:error] [pid 2333] [client 192.168.2.38:51604] PHP   7. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->pass() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:281, referer: http://ezp5.paulo/ez
      [Fri Oct 09 15:02:59.663727 2015] [:error] [pid 2333] [client 192.168.2.38:51604] PHP   8. Symfony\\Bundle\\FrameworkBundle\\HttpCache\\HttpCache->forward() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:264, referer: http://ezp5.paulo/ez
      [Fri Oct 09 15:02:59.663735 2015] [:error] [pid 2333] [client 192.168.2.38:51604] PHP   9. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->forward() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php:60, referer: http://ezp5.paulo/ez
      [Fri Oct 09 15:02:59.663742 2015] [:error] [pid 2333] [client 192.168.2.38:51604] PHP  10. Symfony\\Component\\HttpKernel\\Kernel->handle() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:493, referer: http://ezp5.paulo/ez
      [Fri Oct 09 15:02:59.663750 2015] [:error] [pid 2333] [client 192.168.2.38:51604] PHP  11. Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel->handle() /var/www/html/ezpublish5/ezpublish/bootstrap.php.cache:2444, referer: http://ezp5.paulo/ez
      [Fri Oct 09 15:02:59.663757 2015] [:error] [pid 2333] [client 192.168.2.38:51604] PHP  12. Symfony\\Component\\HttpKernel\\HttpKernel->handle() /var/www/html/ezpublish5/ezpublish/bootstrap.php.cache:3222, referer: http://ezp5.paulo/ez
      [Fri Oct 09 15:02:59.663764 2015] [:error] [pid 2333] [client 192.168.2.38:51604] PHP  13. Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw() /var/www/html/ezpublish5/ezpublish/bootstrap.php.cache:3071, referer: http://ezp5.paulo/ez
      [Fri Oct 09 15:02:59.663770 2015] [:error] [pid 2333] [client 192.168.2.38:51604] PHP  14. call_user_func_array:{/var/www/html/ezpublish5/ezpublish/bootstrap.php.cache:3109}() /var/www/html/ezpublish5/ezpublish/bootstrap.php.cache:3109, referer: http://ezp5.paulo/ez
      [Fri Oct 09 15:02:59.663777 2015] [:error] [pid 2333] [client 192.168.2.38:51604] PHP  15. EzSystems\\PlatformUIBundle\\Controller\\RoleController->updateRoleAction() /var/www/html/ezpublish5/ezpublish/bootstrap.php.cache:3109, referer: http://ezp5.paulo/ez
      
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              paulo.nunes-obsolete@ez.no Paulo Nunes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 3 hours, 35 minutes
                  3h 35m