R: [Zope-CMF] Portal type = None

trashMan trashman@httconsulting.com
Sat, 23 Nov 2002 12:51:04 +0100


I have the same problem!
But...where  must i do "portal_type =3D meta_type =3D 'Type'" ??=20

 Ehmmm....i don't understand.....


Max

-----Messaggio originale-----
Da: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org] Per conto
di Chris McDonough
Inviato: venerd=EC 9 agosto 2002 22.06
A: 220hex; zope-cmf@zope.org
Oggetto: Re: [Zope-CMF] Portal type =3D None


Evidently CMF 1.2 used to automatically set an object's portal_type to
its meta_type if it didn't exist.  This no longer happens in 1.3. So you
need to explicitly declare a portal_type on these objects. The simplest
way to do this is "portal_type =3D meta_type =3D 'Type'"

----- Original Message -----
From: "220hex" <gif@220hex.org>
To: <zope-cmf@zope.org>
Sent: Friday, August 09, 2002 3:12 PM
Subject: [Zope-CMF] Portal type =3D None


> For some strage reason during the upgrade from CMF 1.2 to 1.3,
most of my
> portal documents have lost their type definition. When I go to the
workflow
> tag for these documents it says:
> ------
> This object's portal type is: None.
>
> This object doesn't belong to any workflow.
> ------
> Even stranger is the fact that I run two different CMF instances,
but only
> the oldest one is affected.
>
> Is there any way I can programatically change the portal type on
these
> documents?
> I hate the idea of having to manually recreate hundreds of docs :(
>
> .gif