Details
-
Bug
-
Resolution: Duplicate
-
High
-
1.7.1
-
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
Issue Links
- duplicates
-
EZEE-1269 Content Type View for Landing page generates an error
- Closed