[Zope-dev] Retracting Zope 2.9.7, Zope 2.10.3 releases because of a "zopectl start" problem

Andreas Jung lists at zopyx.com
Mon Mar 26 14:45:59 EDT 2007



--On 26. März 2007 20:21:09 +0200 Martijn Pieters <mj at zopatista.com> wrote:

> On 3/26/07, Damien Baty <damien at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20070326/0a4bec00/attachment.bin


More information about the Zope-Dev mailing list