[Zope-CMF] There is no variable named 'portal_metadata'

Karl Anderson karl@digicool.com
06 Jun 2001 11:39:31 -0700


Tres Seaver <tseaver@palladion.com> writes:

> Norman Khine wrote:
> 
> > Hello,
> > I am having a problem when a member logs joins and tries to add an item, I
> > get the following error, and although the item is added and I can add text
> > to it I am unable to change its metadata.
> > 
> > 
> > Zope Error
> > Zope has encountered an error while publishing this resource.
> > 
> > Error Type: NameError
> > Error Value: There is no variable named 'portal_metadata'
> 
> 
> Hmm, is this a newly-created CMFSite?  Or is this one which was built
> under CMF 1.0?  If the latter, then you likely need to add the metadata
> tool, using the "CMFDefault Tool" option on the "Add" list of the CMFSite
> root (in the Zope management interface).

I was getting this with a newly created CMF 1.1b site, and it did have
the metadata tool.  A recent CVS checkout doesn't have this problem.

-- 
Karl Anderson                          karl@digicool.com