liip/LiipThemeBundle — Issue #37: cache:warmup command fails
Author: COil
Created: 2012-03-07 14:56:51+00:00
State: open

Hi,

When using the CLI command:

```
console cache:warmup
```

```
[15:45:38] PHP Fatal error: Call to a member function getContent() on a non-object in /Users/coil/Sites/mysite/vendor/bundles/Symfony/Bundle/AsseticBundle/Factory/Resource/FileResource.php on line 56
PHP Stack trace:
PHP 1. {main}() /Users/coil/Sites/mysite.com/app/console:0
```

The default theme is set, but is not "loaded" which seems logical in CLI.

Is there a clean way to avoid this error, other than creating the missing templates at the root of my bundle in the standard view directories ?