[Zope-CMF] Portal type = None
Chris McDonough
chrism@zope.com
Fri, 9 Aug 2002 16:06:07 -0400
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 = meta_type = '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 = 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
>
> _______________________________________________
> Zope-CMF maillist - Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature
requests
>