Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delivering wrong theme when Symfony2 has to build up the cache #6

Open
ebi opened this issue Jul 18, 2011 · 1 comment
Open

Delivering wrong theme when Symfony2 has to build up the cache #6

ebi opened this issue Jul 18, 2011 · 1 comment

Comments

@ebi
Copy link
Contributor

ebi commented Jul 18, 2011

For some reason on the very first request, after cleaning the cache we always get the default theme. That is either a bug in the cookie detection or the activetheme.

@biozshock
Copy link

Experiencing same issue. Debugged till here: https://github.com/liip/LiipThemeBundle/blob/master/Assetic/TwigFormulaLoader.php#L55
A line above causes theme to be changed when loading something related to Assetic, and never sets active theme back.

Quick fix: you should make so webserver env configs do not have

liip_theme:
    assetic_integration: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants