Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-1356

Error when viewing landing_page content type

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: High High
    • 1.7.2
    • 1.7.1
    • Landing Page Manager
    • None
    • tested with clean install of ezstudio 1.7 branch

    Description

      When trying to view (not edit!) the landing_page content type, an error occurs:

      [2017-02-07 11:00:02] request.CRITICAL: Uncaught PHP Exception Twig_Error_Runtime: "An exception has been thrown during the rendering of a template ("Cannot find 'ezlandingpage_settings' template block.")." at /Users/philipp/dev/GitHub/ezstudio/vendor/ezsystems/platform-ui-bundle/Resources/views/ContentType/view_content_type.html.twig line 125

      {"exception":"[object] (Twig_Error_Runtime(code: 0): An exception has been thrown during the rendering of a template (\"Cannot find 'ezlandingpage_settings' template block.\"). at /Users/philipp/dev/GitHub/ezstudio/vendor/ezsystems/platform-ui-bundle/Resources/views/ContentType/view_content_type.html.twig:125, eZ\\Publish\\Core\\MVC\\Symfony\\Templating\\Exception\\MissingFieldBlockException(code: 0): Cannot find 'ezlandingpage_settings' template block. at /Users/philipp/dev/GitHub/ezstudio/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Templating/Twig/FieldBlockRenderer.php:318)"}

      []

      I believe this has to do with the new presentation of content types and field types introduced with 1.7

      As far as I can see, the error does not prevent editing of the content type but may confuse users, because clicking "ok" or "cancel" in edit mode also triggers an error message. The success message (content type updated or draft deleted) is only shown after the user leaves the edit mode by other means, for example clicking the breadcrumb.

      other content types are not affected to my knowledge

      Attachments

        Activity

          People

            Unassigned Unassigned
            9733a2be-0c93-43d9-bf6a-a833a807467c@accounts.ibexa.co Philipp Bohnenstengel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: