Re: [Zope-dev] [Zope3-Users] Next Step to Bug Resolution???

2009-01-18 Thread Tim Cook
Hi Dan, On Sat, 2009-01-17 at 01:28 +0300, Dan Korostelev wrote: Hi Tim. Unfortunately I didn't follow the discussion lately, so may be the problem is no more, but... There has been a tremendous amount of help from folks like you. However there is still not a solution. I have been asked

Re: [Zope-dev] [Zope3-Users] Next Step to Bug Resolution???

2009-01-18 Thread Carsten Senger
Tim Cook schrieb: class DataStructure(Persistence): abstract class A typo? Do you use persistent.Persistent? class ItemStructure(DataStructure): abstract class From your description you should define interfaces for Item-/DataStructure, IItem/IDataStructure(Interface), that

Re: [Zope-dev] [Zope3-Users] Next Step to Bug Resolution???

2009-01-16 Thread Dan Korostelev
Hi Tim. Unfortunately I didn't follow the discussion lately, so may be the problem is no more, but... I just committed a fix for zope.schema's ValidationError that makes its repr output more sensible. I'd like community to review those changes and say if they're okay, because changing exception

Re: [Zope-dev] [Zope3-Users] Next Step to Bug Resolution???

2009-01-16 Thread Shane Hathaway
Dan Korostelev wrote: I just committed a fix for zope.schema's ValidationError that makes its repr output more sensible. I'd like community to review those changes and say if they're okay, because changing exception formatting syntax will affect doctest so they should be adapted to new style.

Re: [Zope-dev] [Zope3-Users] Next Step to Bug Resolution???

2008-12-19 Thread Chris Withers
Tim Cook wrote: As I said before I may have miss-diagnosed the problem and may fix may break other things? This is what a full-coverage unit and functional test suit is for. You have got automated tests for all this stuff, right? Chris -- Simplistix - Content Management, Zope Python

Re: [Zope-dev] [Zope3-Users] Next Step to Bug Resolution???

2008-12-19 Thread Tim Cook
Hi Chris, On Fri, 2008-12-19 at 10:06 +, Chris Withers wrote: Tim Cook wrote: As I said before I may have miss-diagnosed the problem and may fix may break other things? This is what a full-coverage unit and functional test suit is for. You have got automated tests for all this

Re: [Zope-dev] [Zope3-Users] Next Step to Bug Resolution???

2008-12-18 Thread Dan Korostelev
Hi, Tim. I builded out your application and took a quick look at the error. It looks like you're mis-using the zope.schema.Field class and its interface. It should be only used in schema definition, while you are using Field instances as attributes for other objects. For example, you are defining

Re: [Zope-dev] [Zope3-Users] Next Step to Bug Resolution???

2008-12-18 Thread Tim Cook
Hi Dan, Thanks for taking a look. On Thu, 2008-12-18 at 20:06 +0300, Dan Korostelev wrote: Hi, Tim. I builded out your application and took a quick look at the error. It looks like you're mis-using the zope.schema.Field class and its interface. It should be only used in schema definition,