[Zope-dev] Re: DTML Zclass ID bug - HELP!

Alexandre Ratti ratti@dial.oleane.com
Wed, 20 Oct 1999 19:50:33 +0200


Hello,


Did anyone solve the problem describe by Anthony below ?

I'd really like to know because it sounds suspiciously like one of my own 
ZClass ailments: I can't access a ZClass instance ID and I can't display 
its value on a property sheet.


Thanks.

Alexandre


At 13:00 17/10/1999 -0700, you wrote:
>I've run into a really annoying bug and was wondering if it is fixed in
>the CVS version (I don't have direct internet access to check).
>
>Create a new Product containing a Zclass subclassing from the DTML
>Document or Method.  Add a Python or DTML Method which does:
>
>         This document is <dtml-var id>
>
>Then, add an instance of this Zclass.  When you VIEW it you get:
>
>         This document is <cstring ...>
>
>AND when you edit it the ID is empty.  All references to the ID and
>related internal variables return CSTRING or cause tracebacks.  How do i
>get the REAL id?

(snip)