[Zope-dev] disabling zope.schema constraint check in edit form

2011-08-18 Thread Joshua Immanuel
Hello all, I use the zope.schema field's constraint parameter to check for the uniqueness of a particular field like this class IMyObject(Interface): def check_for_uniqueness(value): cat = getUtility(ICatalog)

Re: [Zope-dev] [BlueBream] disabling zope.schema constraint check in edit form

2011-08-18 Thread Michael Howitz
Am 18.08.2011 um 09:59 schrieb Joshua Immanuel: Hello all, I use the zope.schema field's constraint parameter to check for the uniqueness of a particular field like this class IMyObject(Interface): def check_for_uniqueness(value): cat =

Re: [Zope-dev] [BlueBream] disabling zope.schema constraint check in edit form

2011-08-18 Thread Joshua Immanuel
Hello Michael, Thanks for the reply. On Thu, 2011-08-18 at 12:46 +0200, Michael Howitz wrote: Is there a way to disable the constraint check in the EditForm if the 'name' field isn't modified? Make sure your catalog search does not return the object you are currently editing. Yes. But

Re: [Zope-dev] [BlueBream] disabling zope.schema constraint check in edit form

2011-08-18 Thread Charlie Clark
Am 18.08.2011, 13:19 Uhr, schrieb Joshua Immanuel j...@hipro.co.in: Yes. But considering the fact that I am doing this check at the interface level. I wonder if that is ever possible, because the constraint method knows just the value of the field. You can always go from the field to the

Re: [Zope-dev] disabling zope.schema constraint check in edit form

2011-08-18 Thread Leonardo Rochael Almeida
Hi Joshua, On Thu, Aug 18, 2011 at 09:59, Joshua Immanuel j...@hipro.co.in wrote: [...] Worse case scenario is where I have a cancel action button which just redirects to another page, that too screams for the NameAlreadyExists error. For the 'cancel button' case, you need to have a form

Re: [Zope-dev] SVN: zope.interface/trunk/ Fix a regression introduced in 3.6.4, that made one zope.app.interface test fail

2011-08-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/17/2011 12:01 PM, Gediminas Paulauskas wrote: 2011/8/6 Tres Seaver tsea...@palladion.com: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/04/2011 10:18 AM, Gediminas Paulauskas wrote: Log message for revision 122462: Fix a regression

Re: [Zope-dev] zope.interface versions, ZTK 1.0 and later

2011-08-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/17/2011 10:03 AM, Tres Seaver wrote: [1] http://buildbot.afpy.org/ztk1.0/builders/Python2.6.5%20Linux%2064bit/builds/344/steps/test%20ztk/logs/stdio I cannot reproduce that failure. The assertion is actually backported, along with

Re: [Zope-dev] disabling zope.schema constraint check in edit form

2011-08-18 Thread Joshua Immanuel
Hello Leonardo, On Thu, 2011-08-18 at 19:10 +0200, Leonardo Rochael Almeida wrote: For the 'cancel button' case, you need to have a form action with a validator that always validates, no matter what. You can find an example of one such null_validator here:

[Zope-dev] zope-tests - FAILED: 10, OK: 28, UNKNOWN: 3

2011-08-18 Thread Zope tests summarizer
This is the summary for test reports received on the zope-tests list between 2011-08-17 00:00:00 UTC and 2011-08-18 00:00:00 UTC: See the footnotes for test reports of unsuccessful builds. An up-to date view of the builders is also available in our buildbot documentation:

Re: [ZWeb] zope.org move

2011-08-18 Thread Jim Fulton
On Thu, Aug 18, 2011 at 11:02 AM, Jens Vagelpohl j...@dataflake.org wrote: On Aug 18, 2011, at 15:45 , Mark W. Alexander wrote: It looks like zope.org has moved. Congratulations! The new site looks great. I see old.zope.org still comes to zope.com's servers. Are there any plans to move or

[Zope] MailingLogger 3.4.0 Released!

2011-08-18 Thread Chris Withers
I'm pleased to announce a new release of Mailinglogger. Mailinglogger provides two handlers for the standard python logging framework that enable log entries to be emailed either as the entries are logged or as a summary at the end of the running process. The handlers have the following

[Zope-CMF] cmf-tests - OK: 3, UNKNOWN: 1

2011-08-18 Thread CMF tests summarizer
This is the summary for test reports received on the cmf-tests list between 2011-08-17 00:00:00 UTC and 2011-08-18 00:00:00 UTC: See the footnotes for test reports of unsuccessful builds. An up-to date view of the builders is also available in our buildbot documentation: