On Fri, Jan 16, 2009 at 11:37 AM, Tim Cook <timothywayne.c...@gmail.com> wrote:
> On Mon, 2009-01-12 at 22:05 +0100, Martijn Faassen wrote:
>> Okay, I'll take another look then and look at ObjectRef. Ah, yes, Dan
>> pointed out to you that you are using a zope.schema.Field in a class
>> instead of in a schema (an interface). That isn't right, and since the
>> direct use of that causes an error, that looks suspicious. Whether it is
>> the cause of the bug or not I do not know.
> Thanks to all for the help.
> I will put together a wiki page that chronicles and explains the entire
> issue and process of getting here. Along with the simplest example I can
> come up with.

I don't think a wiki page with a chronicle is necessary or even
helpful; you need to give us the information necessary to find the
bug, but no distracting surrounding information. To debug this
problem, a developer will need the smallest possible example of code
that demonstrates the problem. That means, I take it, just 2 schemas
and a single form. Describe briefly what you expect to happen and what
in fact happens. If that example can be done *without* inheriting from
Field that'd be good, as it is true that Field is only to be used
inside a schema definition and once someone sees that we'll conclude
that's the cause of the problem even though it might not be.

Once we have the example someone can either debug the problem, or tell
you what you're trying to do isn't the right way to do it.


Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to