[Testbot] Plone 5.0 - Python 2.7 - Build # 1948 - Still failing! - 54 failure(s)

jenkins at plone.org jenkins at plone.org
Thu Mar 13 05:49:29 UTC 2014


-------------------------------------------------------------------------------
Plone 5.0 - Python 2.7 - Build # 1948 - Still Failing!
-------------------------------------------------------------------------------

http://jenkins.plone.org/job/plone-5.0-python-2.7/1948/


-------------------------------------------------------------------------------
CHANGES
-------------------------------------------------------------------------------

Repository: plone.protect
Branch: refs/heads/master
Date: 2014-03-12T23:46:27-05:00
Author: Nathan Van Gheem (vangheem) <vangheem at gmail.com>
Commit: https://github.com/plone/plone.protect/commit/a8f2eeddd60eabb8b429817b02fdbef08f3d5524

also handle directory resources when no keyring can be found

Files changed:
M plone/protect/auto.py

diff --git a/plone/protect/auto.py b/plone/protect/auto.py
index bc9e752..be0cb06 100644
--- a/plone/protect/auto.py
+++ b/plone/protect/auto.py
@@ -16,6 +16,7 @@
 from zope.component.hooks import getSite
 from zope.component import ComponentLookupError
 from zope.interface import implements, Interface
+from zope.browserresource.interfaces import IResource
 
 from urlparse import urlparse
 from urllib import urlencode
@@ -198,7 +199,9 @@ def transform(self, result):
         try:
             token = createToken()
         except ComponentLookupError:
-            if IApplication.providedBy(self.getContext()):
+            context = self.getContext()
+            if IApplication.providedBy(context) or \
+                    IResource.providedBy(context):
                 # skip here, utility not installed yet on zope root
                 return
             raise




-------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGES.log
Type: application/octet-stream
Size: 1218 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140313/73d61b22/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 248151 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140313/73d61b22/attachment-0003.obj>


More information about the Testbot mailing list