[Zope-CMF] Portal Folder or ZClass problems

Jeff jeff@thecolemans.ws
Thu, 24 May 2001 16:33:29 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_038A_01C0E46F.4381B290
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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:=20

The object soap does not support this operation =20

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

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. =20
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

------=_NextPart_000_038A_01C0E46F.4381B290
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Hope someone can help with this, I have =
pulled all=20
of my hair out and am now on the window sill ready to jump =
:-o.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I'm having problems with renaming and =
pasting a=20
ZClass that I have created. It works in most cases within a portal, but =
will not=20
work within an object that I also created.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The error screen display's: =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The object soap does not support this=20
operation&nbsp;&nbsp;<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>form<BR>new_ids &nbsp;&nbsp;&nbsp; =
['soap1']=20
<BR>ids&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;['soap']=20
<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
'manage_renameObjects' <BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Now, the gory details....</DIV></FONT>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have a product that contains a ZClass =
based=20
from:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; 'CMFCore:=20
PortalFolder'</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; 'ZClasses:=20
ObjectManager'</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Let's call it 'bucket'.&nbsp; When I =
add one of=20
these in a portal, it works just fine.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Now for the confusing part.&nbsp; I =
have a second=20
product (DefaultRocks)&nbsp;that will that will contain several ZClasses =
that go=20
into a bucket.&nbsp; For consistency I have created a ZClass in the =
product that=20
all classes will use as a base.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Let's call this class 'stone' and it is =
based=20
from:</FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; 'CMFCore:=20
PortalFolder'</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; 'ZClasses:=20
ObjectManager'</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Now I can start creating the ZClasses =
for the=20
objects that will go it the bucket.&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The first one I did was 'soap' based=20
from:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; 'DeafultRocks:=20
stone'</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Now I go to a portal and add a =
'bucket', inside the=20
'bucket' I added a 'soap'.&nbsp; It all looked good until I tried to =
rename or=20
paste a 'soap' - the above error ever time.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>To try and diagnose the problem I have =
done the=20
following:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Create a 'soap' in the root of the =
portal - works=20
fine</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Create a 'stone' in the root of the =
portal - works=20
fine</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Create a 'stone' in the 'bucket' - =
works=20
fine</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Any ideas?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Jeff</FONT></DIV></DIV></BODY></HTML>

------=_NextPart_000_038A_01C0E46F.4381B290--