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

jenkins at plone.org jenkins at plone.org
Mon Sep 29 23:03:08 UTC 2014


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

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


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

Repository: Products.CMFPlone
Branch: refs/heads/master
Date: 2014-09-30T00:01:12+02:00
Author: Jens W. Klein (jensens) <jk at kleinundpartner.at>
Commit: https://github.com/plone/Products.CMFPlone/commit/a2a8751140121b3016fd82256a5573004ea31d30

reduce deprecation warnings to use plone_layout and not plone_view for certain method calls in order to make debugging of robottests easier: w/o it shows 1000ds of extra lines in html report.

Files changed:
M CHANGES.rst
M Products/CMFPlone/browser/templates/ajax_main_template.pt
M Products/CMFPlone/browser/templates/main_template.pt

diff --git a/CHANGES.rst b/CHANGES.rst
index 83be87c..8ad0cd4 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -8,6 +8,11 @@ Changelog
 5.0a3 (unreleased)
 ------------------
 
+- reduce deprecation warnings to use plone_layout and not plone_view for
+  certain method calls in order to make debugging of robottests easier: 
+  w/o it shows 1000ds of extra lines in html report.
+  [jensens]
+
 - type controlpanel: Resolved problem with workflow selection form as it 
   was breaking if state title had non-ascii characters. see also 
   https://github.com/plone/plone.app.controlpanel/pull/26
@@ -22,7 +27,6 @@ Changelog
   Minor reformattings to make code-analysis happy.
   [jensens]
 
-
 - PLIP 13260: Migration cut, copy and paste into browser views.
   [saily]
 
diff --git a/Products/CMFPlone/browser/templates/ajax_main_template.pt b/Products/CMFPlone/browser/templates/ajax_main_template.pt
index 6d5ed47..e990510 100644
--- a/Products/CMFPlone/browser/templates/ajax_main_template.pt
+++ b/Products/CMFPlone/browser/templates/ajax_main_template.pt
@@ -5,9 +5,10 @@
     tal:define="portal_state context/@@plone_portal_state;
         context_state context/@@plone_context_state;
         plone_view context/@@plone;
+        plone_layout context/@@plone_layout;
         lang portal_state/language;
         view nocall:view | nocall: plone_view;
-        dummy python: plone_view.mark_view(view);
+        dummy python: plone_layout.mark_view(view);
         portal_url portal_state/portal_url;
         checkPermission nocall: context/portal_membership/checkPermission;
         site_properties context/portal_properties/site_properties;
@@ -22,9 +23,9 @@
 </head>
 
 <body tal:define="isRTL portal_state/is_rtl;
-                  sl python:plone_view.have_portlets('plone.leftcolumn', view);
-                  sr python:plone_view.have_portlets('plone.rightcolumn', view);
-                  body_class python:plone_view.bodyClass(template, view);"
+                  sl python:plone_layout.have_portlets('plone.leftcolumn', view);
+                  sr python:plone_layout.have_portlets('plone.rightcolumn', view);
+                  body_class python:plone_layout.bodyClass(template, view);"
     tal:attributes="class string: ${body_class} ajax_load;
                     dir python:isRTL and 'rtl' or 'ltr'">
 
diff --git a/Products/CMFPlone/browser/templates/main_template.pt b/Products/CMFPlone/browser/templates/main_template.pt
index bc26158..add14c4 100644
--- a/Products/CMFPlone/browser/templates/main_template.pt
+++ b/Products/CMFPlone/browser/templates/main_template.pt
@@ -8,9 +8,10 @@
       tal:define="portal_state context/@@plone_portal_state;
           context_state context/@@plone_context_state;
           plone_view context/@@plone;
+          plone_layout context/@@plone_layout;
           lang portal_state/language;
           view nocall:view | nocall: plone_view;
-          dummy python: plone_view.mark_view(view);
+          dummy python: plone_layout.mark_view(view);
           portal_url portal_state/portal_url;
           checkPermission nocall: context/portal_membership/checkPermission;
           site_properties context/portal_properties/site_properties;
@@ -39,9 +40,9 @@
   </head>
 
   <body tal:define="isRTL portal_state/is_rtl;
-                    sl python:plone_view.have_portlets('plone.leftcolumn', view);
-                    sr python:plone_view.have_portlets('plone.rightcolumn', view);
-                    body_class python:plone_view.bodyClass(template, view);"
+                    sl python:plone_layout.have_portlets('plone.leftcolumn', view);
+                    sr python:plone_layout.have_portlets('plone.rightcolumn', view);
+                    body_class python:plone_layout.bodyClass(template, view);"
         tal:attributes="class body_class;
                         dir python:isRTL and 'rtl' or 'ltr';
                         python:plone_view.patterns_settings()"




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


More information about the Testbot mailing list