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

Fix wrong skin, template, locale in ESI blocks #1538

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

felixbuenemann
Copy link

This fixes a bug were the wrong skin, template or locale is used when rendering ESI blocks and either of those values differs from the layout name.

One problem this fixes is wrong skin URLs, if the skin name differs from the layout name, which was previously fixed in #972, but later reverted in #1164.

The new fix passes the current layout, skin, template and locale as part of the ESI data, instead of only the layout.

See #1164 for the discussion and #971 for the original bug report regarding wrong skin URLs.

if they differ from the layout name.
@felixbuenemann
Copy link
Author

I've run this patch in production with Magento 1.9.3.9 and Turpentine 0.7.5 for about a week without problems.

@ncharlot
Copy link

Thx @felixbuenemann for this PR. We had an issue with the wrong skin in ESI block and it fixes it.
Any chance to get this PR merged?

@jeroenvermeulen
Copy link
Contributor

Tired of waiting for @nexcess
Merged into https://github.com/jeroenvermeulen/magento-turpentine

@felixbuenemann
Copy link
Author

@jeroenvermeulen Thanks for taking over, it looks like the main repo is pretty much unmaintained for some time.

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

Successfully merging this pull request may close these issues.

3 participants