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

eZ Publish seems not loading anymore twig form_field template

    XMLWordPrintable

Details

    Description

      During installation of FosCommentBundle, we got an exception that the stack could not load form_errors block.

      After a research, a "fix" could be done: you have to create a new file (form.html.twig for example) which contains exactly same data from ./vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Resources/views/layout.html.twig

      Edit your config.yml file and put:

      twig:
          form:
              resources:
                  - "myBundle::form.html.twig"
      

      And FosCommentBundle works like a charm ...
      After an analysis, it could be a problem link to Twig_Loader_Chain

      Attachments

        Activity

          People

            Unassigned Unassigned
            philippe.vincent-royol-obsolete@ez.no Philippe Vincent-Royol (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: