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

Adminhtml cachecontroller not in use (XML missing) #1539

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fredden
Copy link

@fredden fredden commented Apr 20, 2019

The XML required for the core cache-controller override was introduced in #817, but this conflicted with the existing Turpentine controllers (duplicate XML node name). This conflict was identified in #821 and resolved in #823 by removing this line. Without this line, the overridden controller is not used (and therefore the protection it adds is not being applied).

This change reintroduces the required configuration in a non-conflicting way.

Because of this omission, it is possible for a site to be in a broken state (by mass enabling both turpentine & full_page caches at the same time). The second commit automatically resolves this issue when an administrator browses to the 'cache management' page. (Note that it's still possible to put a site into a problem state via command line, however with this second commit this too will be resolved automatically.)

I can split this into two separate pull requests if you'd prefer.

fredden added 2 commits April 20, 2019 20:21
This was introduced in nexcess#817,
but this conflicted with the existing controller. This conflict was identified
in nexcess#821 and resolved in
nexcess#823 by removing this line.
Without this line, the overridden controller is not used (and therefore the
protection it adds is not being applied).

This change reintroduces the required configuration in a non-conflicting way.
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.

1 participant