--On 26. März 2007 20:21:09 +0200 Martijn Pieters <mj@zopatista.com> wrote:
On 3/26/07, Damien Baty <damien@pilotsystems.net> 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