[Zope-CMF] Portal Folder or ZClass problems

Jeff jeff@thecolemans.ws
Thu, 24 May 2001 17:25:56 -0500


I'm still trying, but get me a gun!
Further diagnostic tries:
Create 2 more ZClasses both identical with base classes:
    'CMFCore: PortalFolder'
    'ZClasses: ObjectManager'
1 works correctly but the other does not!

So I keep looking and notice that although I have nothing seleced on the
ZClass Subobjects tab, intances of these objects get a full add list.

I created a new test ZClass with base classes:
    'ZClasses: ObjectManager'
    'CMFCore: PortalFolder'

And this object seems to be working.
I will not create a second object like this tonight, if 1 works and the
other does not, I'm not sure what I will do ;-0

If anyone has any ideas, please let me know!
Thanks,
Jeff


----- Original Message -----
From: Jeff
To: Zope-Cmf@Zope.Org
Sent: Thursday, May 24, 2001 4:33 PM
Subject: [Zope-CMF] Portal Folder or ZClass problems


Hi all,

Hope someone can help with this, I have pulled all of my hair out and am now
on the window sill ready to jump :-o.
I'm having problems with renaming and pasting a ZClass that I have created.
It works in most cases within a portal, but will not work within an object
that I also created.
The error screen display's:

The object soap does not support this operation

form
new_ids     ['soap1']
ids            ['soap']
                'manage_renameObjects'

Now, the gory details....

I have a product that contains a ZClass based from:
    'CMFCore: PortalFolder'
    'ZClasses: ObjectManager'

Let's call it 'bucket'.  When I add one of these in a portal, it works just
fine.

Now for the confusing part.  I have a second product (DefaultRocks) that
will that will contain several ZClasses that go into a bucket.  For
consistency I have created a ZClass in the product that all classes will use
as a base.
Let's call this class 'stone' and it is based from:
    'CMFCore: PortalFolder'
    'ZClasses: ObjectManager'

Now I can start creating the ZClasses for the objects that will go it the
bucket.
The first one I did was 'soap' based from:
    'DeafultRocks: stone'

Now I go to a portal and add a 'bucket', inside the 'bucket' I added a
'soap'.  It all looked good until I tried to rename or paste a 'soap' - the
above error ever time.

To try and diagnose the problem I have done the following:
Create a 'soap' in the root of the portal - works fine
Create a 'stone' in the root of the portal - works fine
Create a 'stone' in the 'bucket' - works fine

Any ideas?
Thanks,
Jeff