Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-1829

@ezdesign/viewbase_layout.html.twig not defined in v4.0-beta5

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.0.0, 4.0.0-rc1
    • 4.0.0-beta5
    • Experience
    • None
    • php 7.4

    • eZ Commerce, eZ Platform Enterprise

    Description

      While trying some bundles from the sa team we find errors in v4 saying

      Template "@ezdesign/viewbase_layout.html.twig" is not defined.

      To reproduce the issue you can try to add following controller

      <?php
      
      namespace App\Controller;
      
      use eZ\Bundle\EzPublishCoreBundle\Controller;
      
      class DefaultController extends Controller
      {
          public function test()
          {
              return $this->render('@ezdesign/viewbase_layout.html.twig');
          }
      }
      
      

      Assign a path for it and try it. you should see a symfony exception like in the pic.

      If you do the same with 3.3.12, there's no error at all.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              carlos.revillo-obsolete@ibexa.co Carlos Revillo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: