RE: [Zope] Default ZClass constructor not working? (was: re: Zope .org feedba ck)
Here is a very minimal product, with no dependancies, no funcionality, nothing, just a constructor. (Not the product from the traceback I posted earlier, but it has the same problem.) Hope you can find something, --Tim -----Original Message----- From: Dieter Maurer [mailto:dieter@handshake.de] Sent: zondag 12 januari 2003 19:48 To: tim.leeuwvander@nl.unisys.com Cc: zope@zope.org Subject: RE: [Zope] Default ZClass constructor not working? (was: re: Zope .org feedba ck) Leeuw van der, Tim wrote at 2003-1-12 02:14 -0600:
... That worked, without changing any permissions, and created for me the new ZClass instance. It even created the new ZCatalog instance inside, as it was supposed to. So the constructor code was definately executed, no errors, no permissions changed for anything.
Does that help, or does that make it a bigger problem? Your problem has been reported several times.
It is normal when the DTML object (the constructor) is called in the wrong way. However, in your case, the constructor seems to have been called directly from ZPublisher. It knows how DTML objects must be called. When your ZClass uses only stock Zope products and you like, you can send me a "zexp" containing your ZClass and I can try to understand your problem. Dieter
Leeuw van der, Tim wrote at 2003-1-12 17:42 -0600:
Here is a very minimal product, with no dependancies, no funcionality, nothing, just a constructor. (Not the product from the traceback I posted earlier, but it has the same problem.) I imported your "zexp" (into "Control_Panel/Products"), got two new meta types in my "add list" ("zcTest" and "zcTest2") and could create instances for them without any problem.
Unfortunately, this means: I cannot reproduce your problem. This Zope Goblin tries to avoid me... Dieter
participants (2)
-
Dieter Maurer -
Leeuw van der, Tim