ezsystems/DemoBundle — pull request #59 by yannickroger (2014-03-12 14:11:03+00:00)
Title: Ezp 22476 no alias breaks page

Link: https://jira.ez.no/browse/EZP-22476

## Description
In ezimage_simple.html.twig if image_alias is empty a stack will be thrown breaking the whole page.
https://github.com/ezsystems/DemoBundle/blob/master/Resources/views/fields/ezimage_simple.html.twig?source=c#L7

When a ez_image_alias is not found an error is already logged on the server:
https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Publish/Core/MVC/Symfony/Templating/Twig/Extension/ContentExtension.php?source=c#L451

So this error should be silent on the frontend and not break the page.

The reason why the alias is not present will be fixed in another JIRA issue (I am about to create it and will edit this description once done).

## Tests
Manual tets