--On 26. März 2007 20:21:09 +0200 Martijn Pieters <[EMAIL PROTECTED]> wrote:

On 3/26/07, Damien Baty <[EMAIL PROTECTED]> wrote:
     manage_restart(self, URL1, REQUEST=None):

   makes Zope start. 'REQUEST' is not used in this method, though.
However, it is also not used in 'manage_shutdown()' but appears in its
signature. I guess that adding it to 'manager_restart()' should not have
any side-effect.

@postonly uses the REQUEST parameter, that's why it demands the
parameter being present.

Tres Seaver added the decorators to the Control_Panel and must've
missed the REQUEST parameter on manage_restart, which only comes into
effect when running the zope process with zopectl start.

The penalty for this bug: two bottles of wine.
The workaround is to add REQUEST as optional parameter to manage_restart()?

Andreas

Attachment: pgpaaZlesI9ng.pgp
Description: PGP signature

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to