symfony/AsseticBundle — pull request #65 by arnaud-lb (2012-02-16 13:05:07+00:00)
Title: catch TemplateNameParser exceptions

AsseticTokenParser attempts to determine the bundle name from the template file name by parsing it with the TemplateNameParser. However, when the file name is already resolved, and is a real file name, containing `..`, this throws an exception (`Template name "%s" contains invalid characters.`).

This PR silently catches this exception, since it's not critical.

I my case the exception was happening when extraction translations with JMSTranslationBundle's translation:extract command.