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

jenkins at plone.org jenkins at plone.org
Sun Aug 17 21:12:06 UTC 2014


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

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


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

Repository: Products.Archetypes
Branch: refs/heads/master
Date: 2013-01-30T14:44:51Z
Author: David Bell () <davidb at isotoma.com>
Commit: https://github.com/plone/Products.Archetypes/commit/bdd817d6f95929c659e58d53215248a057b5480c

correctly determine default value for boolean widget #9675

Files changed:
M Products/Archetypes/skins/archetypes/widgets/field.pt

diff --git a/Products/Archetypes/skins/archetypes/widgets/field.pt b/Products/Archetypes/skins/archetypes/widgets/field.pt
index 39e6a68..3e6945e 100644
--- a/Products/Archetypes/skins/archetypes/widgets/field.pt
+++ b/Products/Archetypes/skins/archetypes/widgets/field.pt
@@ -67,7 +67,8 @@
                     edit_accessor python:field.getEditAccessor(here);
                     getMethod python:(widget.populate and (edit_accessor or accessor)) or None;
                     value python:getMethod and getMethod();
-                    value python:widget.postback and request.get(fieldName, value) or value;
+                    value python:widget.postback and request.get(fieldName, value);
+                    value python:test(value == '', getMethod and getMethod(), value);
                     portal python:context.portal_url.getPortalObject();
                     visCondition python:field.widget.testCondition(context.aq_inner.getParentNode(), portal, context);
                     error_id python:errors.get(fieldName)">


Repository: Products.Archetypes
Branch: refs/heads/master
Date: 2013-02-07T10:27:24Z
Author: David Bell () <davidb at isotoma.com>
Commit: https://github.com/plone/Products.Archetypes/commit/1f94e468a0fe58830e69acc9398f0495926bb418

without using test

Files changed:
M Products/Archetypes/skins/archetypes/widgets/field.pt

diff --git a/Products/Archetypes/skins/archetypes/widgets/field.pt b/Products/Archetypes/skins/archetypes/widgets/field.pt
index 3e6945e..94f00d5 100644
--- a/Products/Archetypes/skins/archetypes/widgets/field.pt
+++ b/Products/Archetypes/skins/archetypes/widgets/field.pt
@@ -68,7 +68,7 @@
                     getMethod python:(widget.populate and (edit_accessor or accessor)) or None;
                     value python:getMethod and getMethod();
                     value python:widget.postback and request.get(fieldName, value);
-                    value python:test(value == '', getMethod and getMethod(), value);
+                    value python:value == '' and (getMethod and getMethod()) or value;
                     portal python:context.portal_url.getPortalObject();
                     visCondition python:field.widget.testCondition(context.aq_inner.getParentNode(), portal, context);
                     error_id python:errors.get(fieldName)">


Repository: Products.Archetypes
Branch: refs/heads/master
Date: 2014-08-17T21:24:45+02:00
Author: Jens W. Klein (jensens) <jk at kleinundpartner.at>
Commit: https://github.com/plone/Products.Archetypes/commit/0b9790bfb08a7c0fb46a9d91a09ad40d0b42ce7a

Merge branch 'dibellmaster'

Files changed:
M Products/Archetypes/skins/archetypes/widgets/field.pt

diff --git a/Products/Archetypes/skins/archetypes/widgets/field.pt b/Products/Archetypes/skins/archetypes/widgets/field.pt
index 39e6a68..94f00d5 100644
--- a/Products/Archetypes/skins/archetypes/widgets/field.pt
+++ b/Products/Archetypes/skins/archetypes/widgets/field.pt
@@ -67,7 +67,8 @@
                     edit_accessor python:field.getEditAccessor(here);
                     getMethod python:(widget.populate and (edit_accessor or accessor)) or None;
                     value python:getMethod and getMethod();
-                    value python:widget.postback and request.get(fieldName, value) or value;
+                    value python:widget.postback and request.get(fieldName, value);
+                    value python:value == '' and (getMethod and getMethod()) or value;
                     portal python:context.portal_url.getPortalObject();
                     visCondition python:field.widget.testCondition(context.aq_inner.getParentNode(), portal, context);
                     error_id python:errors.get(fieldName)">


Repository: Products.Archetypes
Branch: refs/heads/master
Date: 2014-08-17T21:26:41+02:00
Author: Jens W. Klein (jensens) <jk at kleinundpartner.at>
Commit: https://github.com/plone/Products.Archetypes/commit/78ee8649d82d856a12aedfc02f4f06992843f658

document prior merge of #15

Files changed:
M CHANGES.txt

diff --git a/CHANGES.txt b/CHANGES.txt
index 4660360..e5e9474 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -4,6 +4,10 @@ Changelog
 1.10.2 (unreleased)
 -------------------
 
+- Correctly determine default value for boolean widget. fixes 
+  https://dev.plone.org/ticket/9675.
+  [dibell]
+
 - make ``textCounter`` work in Plone 4.3 because 'jquery-integration.js' was 
   disabled and remove ``jq``calls. see 
   https://github.com/plone/Products.Archetypes/pull/41




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


More information about the Testbot mailing list