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 bug in manual purging via controlpanel #14

Merged
merged 2 commits into from
Mar 31, 2015
Merged

Fix bug in manual purging via controlpanel #14

merged 2 commits into from
Mar 31, 2015

Conversation

puittenbroek
Copy link

The portalPath's length is used to determine the relativePath from the physicalPath. The physicalPath from the request (line 562) is a list of strings. portalPath was joined as string and thus much longer. Resulting in empty 'relativePath', resulting in not doing all the purges you would expect.

There are no tests for the controlpanel purging, I unfortunally also do not have time to make them :(

Peter Uittenbroek added 2 commits March 30, 2015 11:15
…ysicalPath. The physicalPath from the request (line 562) is a list of strings. portalPath was a string, making this comparison faulty and the caching not work
@jensens
Copy link
Sponsor Member

jensens commented Mar 31, 2015

test with this branch are running here http://jenkins.plone.org/view/All/job/pull-request/66/

jensens added a commit to plone/buildout.coredev that referenced this pull request Mar 31, 2015
jensens added a commit that referenced this pull request Mar 31, 2015
Fix bug in manual purging via controlpanel
@jensens jensens merged commit 529cb4e into master Mar 31, 2015
@jensens jensens deleted the fix-purging branch March 31, 2015 09:57
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.

2 participants