[Zope-dev] Zope Tests: 87 OK, 13 Failed

2011-02-15 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Mon Feb 14 12:00:00 2011 UTC to Tue Feb 15 12:00:00 2011 UTC. There were 100 messages: 8 from Zope Tests, 4 from buildbot at pov.lt, 31 from buildbot at winbot.zope.org, 11 from ccomb at free.fr, 46 from jdriessen at thehealthagency.com. Test

[Zope-dev] schema upgrades with zope.formlib + FIX

2011-02-15 Thread Johannes Raggam
dear zopistas, while trying to add a new schema field to an already registered plone portlet, i got following traceback: 2011-02-14 23:11:55 ERROR Zope.SiteErrorLog 1297721515.110.63984381121 http://localhost:8880/info/uber-uns/geschichte/++contextportlets

Re: [Zope-dev] schema upgrades with zope.formlib + FIX

2011-02-15 Thread Hanno Schlichting
On Tue, Feb 15, 2011 at 1:21 PM, Johannes Raggam raggam...@adm.at wrote: while - IMO - zope.schema throws that error justifiably, i think zope.formlib should handle it more gracefully in setUpEditWidgets. i think, this error comes with every schema upgrade for zope.formlib based edit-forms.

Re: [Zope-dev] schema upgrades with zope.formlib + FIX

2011-02-15 Thread Johannes Raggam
well, for schema upgrades, also following patch seems to be necessary: From c11064b8d8a7607d41071250f587f097f8c130a3 Mon Sep 17 00:00:00 2001 From: Johannes Raggam raggam...@adm.at Date: Tue, 15 Feb 2011 14:29:56 +0100 Subject: [PATCH 2/2] gracefully set newvalue for upgraded schemas, where

[Zope-dev] Acquisition wrapped objects do not behave well on unicode call

2011-02-15 Thread Michael Howitz
Hi, When I have an acquisition wrapped object, e. g. my_object and call: unicode(my_object) The method __str__ of my_object is called even when it has an __unicode__ method. See the following bin/zopectl debug session: $ bin/zinstance debug Starting debugger (the name app is bound to the

Re: [Zope-dev] zope.contentprovider not useable together with Zope 2.13.4

2011-02-15 Thread Hanno Schlichting
Hi. On Tue, Feb 15, 2011 at 2:46 PM, Michael Howitz m...@gocept.com wrote: I tracked this down to Zope2/App/exclude.zcml where the meta.zcml of the package zope.browserpage gets excluded. Sadly this ZCML file defines the expressiontype directive. What is the current way to use

Re: [Zope-dev] Acquisition wrapped objects do not behave well on unicode call

2011-02-15 Thread Hanno Schlichting
On Tue, Feb 15, 2011 at 2:35 PM, Michael Howitz m...@gocept.com wrote: When I have an acquisition wrapped object, e. g. my_object and call: unicode(my_object) The method __str__ of my_object is called even when it has an __unicode__ method. Acquisition wrappers only fill the tp_repr and

[Zope-dev] z3c.formjs widgetselector customization

2011-02-15 Thread Simon Elbaz
Hi, I use z3c.formjs in a project and would like to customize the selector id used into jsaction.handler for form field. Since the z3c.formui templates add -row suffix to the widget id, I need also to add the -row suffix to the selector id in the event handler. Here is the code in jsaction.py:

Re: [Zope-dev] z3c.formjs widgetselector customization

2011-02-15 Thread Stephan Richter
On Tuesday, February 15, 2011, Simon Elbaz wrote: If it is a good idea, how could I apply it to svn repository ? You can become a committer and check it into the Zope SVN repository. (I can be your reference.) Feel free to make any changes to z3c.formjs you like. I can also aid you at making

Re: [Zope-dev] Acquisition wrapped objects do not behave well on unicode call

2011-02-15 Thread Christian Zagrodnick
On 2011-02-15 15:26:28 +0100, Hanno Schlichting said: On Tue, Feb 15, 2011 at 2:35 PM, Michael Howitz m...@gocept.com wrote: When I have an acquisition wrapped object, e. g. my_object and call: unicode(my_object) The method __str__ of my_object is called even when it has an __unicode__