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

Having formtoken active, it's not possible to edit eZ Demo frontpage

    XMLWordPrintable

Details

    Description

      Hi,

      If we have the formtoken extension active, we cannot edit the eZ Demo frontpage through ezwt.
      We have the following error:

      CRITICAL - Uncaught PHP Exception Exception: "Missing form token from Request" at /var/www/html/ezpublish5/ezpublish_legacy/extension/ezformtoken/event/ezxformtoken.php line 148 
      

      The complete stack trace

      [1] Exception: Missing form token from Request
          at n/a
              in /var/www/html/ezpublish5/ezpublish_legacy/extension/ezformtoken/event/ezxformtoken.php line 148
      
          at ezxFormToken::input(object(eZURI))
              in  line 
      
          at call_user_func_array(array('ezxFormToken', 'input'), array(object(eZURI)))
              in /var/www/html/ezpublish5/ezpublish_legacy/kernel/private/classes/ezpevent.php line 138
      
          at ezpEvent->notify('request/input', array(object(eZURI)))
              in /var/www/html/ezpublish5/ezpublish_legacy/kernel/private/classes/ezpkernelweb.php line 1162
      
          at ezpKernelWeb->requestInit()
              in /var/www/html/ezpublish5/ezpublish_legacy/kernel/private/classes/ezpkernelweb.php line 1205
      
          at ezpKernelWeb->runCallback(object(Closure), false)
              in /var/www/html/ezpublish5/ezpublish_legacy/kernel/private/classes/ezpkernel.php line 68
      
          at ezpKernel->runCallback(object(Closure), false)
              in /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Kernel.php line 162
      
          at eZ\Publish\Core\MVC\Legacy\Kernel->runCallback(object(Closure), false)
              in /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/LegacyMapper/Security.php line 87
      
          at eZ\Bundle\EzPublishLegacyBundle\LegacyMapper\Security->onKernelBuilt(object(PostBuildKernelEvent))
              in  line 
      
          at call_user_func(array(object(Security), 'onKernelBuilt'), object(PostBuildKernelEvent))
              in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php line 164
      
          at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(array(object(Security), 'onKernelBuilt')), 'ezpublish_legacy.post_build_kernel', object(PostBuildKernelEvent))
              in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php line 53
      
          at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('ezpublish_legacy.post_build_kernel', object(PostBuildKernelEvent))
              in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php line 167
      
          at Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('ezpublish_legacy.post_build_kernel', object(PostBuildKernelEvent))
              in /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Kernel/Loader.php line 118
      
          at eZ\Publish\Core\MVC\Legacy\Kernel\{closure}()
              in /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/Controller/LegacyKernelController.php line 57
      
          at eZ\Bundle\EzPublishLegacyBundle\Controller\LegacyKernelController->__construct(object(Closure), object(ChainConfigResolver), object(URIHelper), object(LegacyResponseManager))
              in /var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php line 7755
      
          at ezpublishDevDebugProjectContainer->getEzpublishLegacy_ControllerService()
              in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php line 319
      
          at Symfony\Component\DependencyInjection\Container->get('ezpublish_legacy.controller')
              in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerResolver.php line 65
      
          at Symfony\Bundle\FrameworkBundle\Controller\ControllerResolver->createController('ezpublish_legacy.controller:indexAction')
              in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Controller/ControllerResolver.php line 87
      
          at Symfony\Component\HttpKernel\Controller\ControllerResolver->getController(object(Request))
              in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Controller/TraceableControllerResolver.php line 46
      
          at Symfony\Component\HttpKernel\Controller\TraceableControllerResolver->getController(object(Request))
              in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 105
      
          at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1')
              in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 61
      
          at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true)
              in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 62
      
          at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true)
              in /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php line 187
      
          at Symfony\Component\HttpKernel\Kernel->handle(object(Request), '1', true)
              in /var/www/html/ezpublish5/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Kernel.php line 67
      
          at eZ\Bundle\EzPublishCoreBundle\Kernel->handle(object(Request))
              in /var/www/html/ezpublish5/web/index.php line 77
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulo.nunes-obsolete@ez.no Paulo Nunes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: