[Zope] zope-2.1.5 and zclass (again)
Jim Fulton
jim@digicool.com
Mon, 20 Mar 2000 10:25:16 -0500
Vladimir Petrovic wrote:
>
> I'm getting the same error on Zope 2.1.5. My zclass A which inherits object
> manager. Inside it I have zclass B. When I try to create B object inside A
> folder Zope gives me an Attribute Error: _getOb inside
> B.createInObjectManager ()
That's very odd. I tried reproducing this and couldn't.
> It seems then Zope does not see class A's parent object manager.
What do you mean by parent? Presumably, A subclasses ObjectManager.
Right?
> But, I have
> exported A objects containing B object from 2.1.4 to 2.1.5 and that works.
That's because export/import doesn't use createInObjectManager.
I suggest one of the following:
- Try a very simple example that you can deacribe completely
so you can explain it to me in complete detail and I can try to reporiduce
it.
- If your database isn't too big (or if you can reproduce this
with a small database) send me the database. I'll look at it and see if I
can see what's going on.
Jim
--
Jim Fulton mailto:jim@digicool.com Python Powered!
Technical Director (888) 344-4332 http://www.python.org
Digital Creations http://www.digicool.com http://www.zope.org
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission. Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.