[Zope] ObjectManager problem
Arkaitz
arkbit@yahoo.com
31 May 2001 11:38:39 +0200
On 30 May 2001 08:59:28 -0600, Casey Duncan wrote:
> The problem is that you are subclassing SimpleItem.Item and
> ObjectManager which are incompatible base classes. SimpleItem.Item
> defines its own objectIds method which *always* returns and empty tuple
> (because it is not a container). You should be able to safely loose this
> base class and all will be right with the world.
Are you sure ObjectManager and Item are incompatible base classes? I've
been using them together to get title_or_id from Item for objectManagers
without any problem, and actually, the standard Zope Folder class uses
both as well.
I think the problem might be in the order of the base classes in the
class declaration. I think that if you put ObjectManager before Item, it
should work fine. However, I'm not sure if this the reason behind the
problem Max was having.
Cheers,
Arkaitz.