[Testbot] Plone 5.0 - Python 2.7 - Build # 1992 - Still failing! - 7 failure(s)
jenkins at plone.org
jenkins at plone.org
Mon Mar 17 03:49:22 UTC 2014
-------------------------------------------------------------------------------
Plone 5.0 - Python 2.7 - Build # 1992 - Still Failing!
-------------------------------------------------------------------------------
http://jenkins.plone.org/job/plone-5.0-python-2.7/1992/
-------------------------------------------------------------------------------
CHANGES
-------------------------------------------------------------------------------
Repository: Products.CMFPlone
Branch: refs/heads/master
Date: 2014-03-16T19:57:34-07:00
Author: David Glick (davisagli) <david at glicksoftware.com>
Commit: https://github.com/plone/Products.CMFPlone/commit/18024e4a343222b2443920df499e54e645b08a6c
disable csrf protection for upgrade (may not have right keyring yet)
Files changed:
M Products/CMFPlone/browser/admin.py
diff --git a/Products/CMFPlone/browser/admin.py b/Products/CMFPlone/browser/admin.py
index 73a4c19..50f7801 100644
--- a/Products/CMFPlone/browser/admin.py
+++ b/Products/CMFPlone/browser/admin.py
@@ -255,6 +255,9 @@ def __call__(self):
form = self.request.form
submitted = form.get('form.submitted', False)
if submitted:
+ # CSRF protect. DO NOT use auto CSRF protection for upgrading a site
+ alsoProvides(self.request, IDisableCSRFProtection)
+
pm = getattr(self.context, 'portal_migration')
report = pm.upgrade(
REQUEST=self.request,
-------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGES.log
Type: application/octet-stream
Size: 1001 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140317/1ca85075/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 186462 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140317/1ca85075/attachment-0003.obj>
More information about the Testbot
mailing list