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

Prevent 503 errors on nonexistent /ezflow/zone/ url

    XMLWordPrintable

    Details

      Description

      If you try to open a nonexistent zone with eZFlow, the sistem will return a 503 error. This behavior should be changed.

      The landing page will use ezflow URLs via ajax requests in certain situations. That's when the error happens.

      Steps to reproduce

      E_ERROR: Call to a member function content() on null
      in unknown called at /var/www/sites/your-site.com/ezpublish_legacy/extension/ezflow/modules/ezflow/zone.php (33)
      in include called at /var/www/sites/your-site.com/ezpublish_legacy/lib/ezutils/classes/ezprocess.php (46)
      in eZProcess::runFile called at /var/www/sites/your-site.com/ezpublish_legacy/lib/ezutils/classes/ezprocess.php (21)
      in eZProcess::run called at /var/www/sites/your-site.com/ezpublish_legacy/lib/ezutils/classes/ezmodule.php (1797)
      in eZModule::run called at /var/www/sites/your-site.com/ezpublish_legacy/kernel/private/classes/ezpkernelweb.php (815)
      in ezpKernelWeb::dispatchLoop called at /var/www/sites/your-site.com/ezpublish_legacy/kernel/private/classes/ezpkernelweb.php (344)
      in ezpKernelWeb::run called at /var/www/sites/your-site.com/ezpublish_legacy/kernel/private/classes/ezpkernel.php (53)
      in ezpKernel::run called at /var/www/sites/your-site.com/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Kernel.php (118)
      in eZ\Publish\Core\MVC\Legacy\Kernel::run called at /var/www/sites/your-site.com/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/Controller/LegacyKernelController.php (106)
      in eZ\Bundle\EzPublishLegacyBundle\Controller\LegacyKernelController::indexAction called at *wherever*
      in call_user_func_array called at /var/www/sites/your-site.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (144)
      in Symfony\Component\HttpKernel\HttpKernel::handleRaw called at /var/www/sites/your-site.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (64)
      in Symfony\Component\HttpKernel\HttpKernel::handle called at /var/www/sites/your-site.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php (69)
      in Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel::handle called at /var/www/sites/your-site.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (184)
      in Symfony\Component\HttpKernel\Kernel::handle called at /var/www/sites/your-site.com/web/index.php (78)

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            eduardo.fernandes-obsolete@ez.no Eduardo Fernandes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: