[Testbot] Plone 4.3 - Python 2.6 - Build # 2254 - Still failing! - 4 failure(s)

jenkins at plone.org jenkins at plone.org
Sun Aug 17 22:31:53 UTC 2014


-------------------------------------------------------------------------------
Plone 4.3 - Python 2.6 - Build # 2254 - Still Failing!
-------------------------------------------------------------------------------

http://jenkins.plone.org/job/plone-4.3-python-2.6/2254/


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

Repository: plone.app.contenttypes
Branch: refs/heads/master
Date: 2014-08-17T23:50:41+02:00
Author: Philip Bauer (pbauer) <bauer at starzel.de>
Commit: https://github.com/plone/plone.app.contenttypes/commit/5ac9fd27dce631f84611a8ab5e72e174fb80f08b

fix tests

Files changed:
M plone/app/contenttypes/browser/templates/newsitem.pt

diff --git a/plone/app/contenttypes/browser/templates/newsitem.pt b/plone/app/contenttypes/browser/templates/newsitem.pt
index 93d034a..1e0e742 100644
--- a/plone/app/contenttypes/browser/templates/newsitem.pt
+++ b/plone/app/contenttypes/browser/templates/newsitem.pt
@@ -19,7 +19,7 @@
     <metal:block define-macro="content-core"
           tal:define="templateId template/getId;
                       scale_func context/@@images;
-                      scaled_image python: hasattr(context.aq_explicit, 'image') and scale_func.scale('image', scale='mini')">
+                      scaled_image python: getattr(context.aq_explicit, 'image', False) and scale_func.scale('image', scale='mini')">
 
         <div class="newsImageContainer"
              tal:condition="python: scaled_image">
@@ -43,7 +43,7 @@
              tal:content="structure context/text/output" />
 
         <div class="newsFileContainer"
-             tal:condition="python: hasattr(context.aq_explicit, 'image') and not scaled_image">
+             tal:condition="python: getattr(context.aq_explicit, 'image', False) and not scaled_image">
             <a tal:content="structure python:context.image_caption or context.image.filename"
                tal:attributes="href python:'%s/@@download/image' % context.absolute_url()">
             </a>




-------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGES.log
Type: application/octet-stream
Size: 1654 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140817/08202c6a/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 172541 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140817/08202c6a/attachment-0003.obj>


More information about the Testbot mailing list