[Testbot] Plone 5.0 - Python 2.7 - Build # 2355 - Regression! - 18 failure(s)
jenkins at plone.org
jenkins at plone.org
Mon Apr 21 15:21:42 UTC 2014
-------------------------------------------------------------------------------
Plone 5.0 - Python 2.7 - Build # 2355 - Failure!
-------------------------------------------------------------------------------
http://jenkins.plone.org/job/plone-5.0-python-2.7/2355/
-------------------------------------------------------------------------------
CHANGES
-------------------------------------------------------------------------------
Repository: plone.outputfilters
Branch: refs/heads/master
Date: 2014-04-21T08:38:38-05:00
Author: Nathan Van Gheem (vangheem) <vangheem at gmail.com>
Commit: https://github.com/plone/plone.outputfilters/commit/358741a8af262163b2fcb5158417b7f67520d433
for plone 5, always resolve uids
Files changed:
M CHANGES.txt
M plone/outputfilters/filters/configure.zcml
M plone/outputfilters/filters/resolveuid_and_caption.py
diff --git a/CHANGES.txt b/CHANGES.txt
index 1c5fb10..a4f3c09 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -4,7 +4,8 @@ Changelog
1.14 (unreleased)
-----------------
-- Nothing changed yet.
+- for plone 5, always resolveuids
+ [vangheem]
1.13 (2014-04-13)
diff --git a/plone/outputfilters/filters/configure.zcml b/plone/outputfilters/filters/configure.zcml
index d23fb5d..2e1a6c5 100644
--- a/plone/outputfilters/filters/configure.zcml
+++ b/plone/outputfilters/filters/configure.zcml
@@ -1,5 +1,6 @@
<configure
xmlns="http://namespaces.zope.org/zope"
+ xmlns:zcml="http://namespaces.zope.org/zcml"
xmlns:browser="http://namespaces.zope.org/browser">
<adapter
@@ -9,4 +10,9 @@
factory=".resolveuid_and_caption.ResolveUIDAndCaptionFilter"
/>
+ <!-- in Plone 5, we always resolve uids -->
+ <utility factory=".resolveuid_and_caption.ResolveUidsAlwaysEnabled"
+ name="plone5-always-enabled"
+ zcml:condition="have plone-5" />
+
</configure>
diff --git a/plone/outputfilters/filters/resolveuid_and_caption.py b/plone/outputfilters/filters/resolveuid_and_caption.py
index 0a451a4..3503499 100644
--- a/plone/outputfilters/filters/resolveuid_and_caption.py
+++ b/plone/outputfilters/filters/resolveuid_and_caption.py
@@ -52,6 +52,12 @@ class IResolveUidsEnabler(Interface):
"Boolean indicating whether UID links should be resolved.")
+class ResolveUidsAlwaysEnabled(object):
+ implements(IResolveUidsEnabler)
+
+ available = True
+
+
def tag(img, **attributes):
if hasattr(aq_base(img), 'tag'):
return img.tag(**attributes)
-------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGES.log
Type: application/octet-stream
Size: 2033 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140421/b77355d2/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 84783 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140421/b77355d2/attachment-0003.obj>
More information about the Testbot
mailing list