Details
-
Bug
-
Resolution: Unresolved
-
High
-
1.3.0, 1.4.0-beta1, 1.5.0, 1.7.0, 1.7.1, 1.8.0, 1.7.2, 1.9.0-rc
-
Operating System: Debian 8
PHP Version: 5.6.14-0+deb8u1
Database and version: Mysql 5.5.46-0+deb8u1
Browser (and version): Firefox
Description
Steps to reproduce
- Create a content type that has an ezrrating fieldtype
- Create a content of previous content type
- Access it through frontend
A fatal error is displayed
The server returned a "500 Internal Server Error".
In logs I have
[2016-05-20 12:25:40] request.CRITICAL: Uncaught PHP Exception Twig_Error_Runtime: "An exception has been thrown during the rendering of a template ("Cannot find 'ezsrrating_field' template block.") in "EzPublishCoreBundle:default:content/full.html.twig" at line 6." at /var/www/ezp60/ezplatform/vendor/twig/twig/lib/Twig/Template.php line 182 {"exception":"[object] (Twig_Error_Runtime(code: 0): An exception has been thrown during the rendering of a template (\"Cannot find 'ezsrrating_field' template block.\") in \"EzPublishCoreBundle:default:content/full.html.twig\" at line 6. at /var/www/ezp60/ezplatform/vendor/twig/twig/lib/Twig/Template.php:182, eZ\\Publish\\Core\\MVC\\Symfony\\Templating\\Exception\\MissingFieldBlockException(code: 0): Cannot find 'ezsrrating_field' template block. at /var/www/ezp60/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Templating/Twig/FieldBlockRenderer.php:320)"} []