[Zope-CMF] Re: [Zope] CMF reconfiguration error

Tres Seaver tseaver@digicool.com
Wed, 4 Apr 2001 09:02:14 -0400 (EDT)


On 4 Apr 2001, Jeff Senn wrote:

> 
> Tres Seaver <tseaver@novacoxmail.com> writes:
> 
> > I can reproduce this problem.  The culprit is the "dtml-return"
> > tag in CMFDefault/skins/control/reconfig.dtml.  This patch clears
> > it right up (I've just checked it in):
> > 
> > ------- begin patch ------------------
> > Index: CMFDefault/skins/control/reconfig.dtml
> > ===================================================================
> > RCS file: /cvs-repository/CMF/CMFDefault/skins/control/reconfig.dtml,v
> > retrieving revision 1.1
> > diff -u -u -r1.1 reconfig.dtml
> > --- CMFDefault/skins/control/reconfig.dtml	2001/02/23 14:24:09	1.1
> > +++ CMFDefault/skins/control/reconfig.dtml	2001/04/04 00:59:33
> > @@ -1,2 +1,3 @@
> >  <dtml-call expr="portal_properties.editProperties(REQUEST)">
> > -<dtml-return expr="reconfig_form(_.None, _, portal_status_message='Settings changed')">
> > +<dtml-call expr="REQUEST['RESPONSE'].redirect( portal_url()
> > +                  + '/reconfig_form?portal_status_message=Settings+changed.')"
> 
> (I'm assuming there's a closing ">" in the patch you actually applied
>  -- or soon will be...   :-) )

Oops, cut and paste didn't pick it up.  It is there -- check out:

  <http://cvs.zope.org/CMF/CMFDefault/skins/control/reconfig.dtml.diff?r1=1.1&r2=1.1.2.1>

Thanks!

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@digicool.com
Digital Creations     "Zope Dealers"       http://www.zope.org