[Zope-CMF] Upgrading to 1.2b1
   
    Alan Runyan
     
    runyaga@runyaga.com
       
    Wed, 9 Jan 2002 22:14:04 -0600
    
    
  
i'm pretty dense.  could someone explain to me how to do this?  my Script
(Python) looks like:
name of ZClass is StaticWebpage
REQUEST=context.REQUEST
context.StaticWebpage.createInObjectManager(REQUEST['id'], REQUEST)
return getattr(context, REQUEST['id'])
this is not working.
~runyaga
> > I'm going from 1.1 to 1.2b1.  The error message is really weird (see
> > previous message).  Here is a hint:  I can create portal objects from
inside
> > the ZMI.  just not from within the CMF interface (invokeFactory).  My
> > ZClasses arent broken.  My portal_types are registered.  Everything
seems to
> > work, but users cant add the custom content objects.
>
> Methods used to construct content instances need to return
>
> the new instance;  the "stock" factory methods don't do this.
>
> The interface for the method used to require returning the
>
> redirection URL;  I changed it to return the object back in
> August, but failed to note it as an issue.