[Zope-CMF] Generic Setup upgrade steps
yuppie
y.2009 at wcm-solutions.de
Thu Sep 3 09:22:14 EDT 2009
Hi!
Godefroid Chapelle wrote:
> I am surprised that `manage_doUpgrades` method of the tool does not
> check if the step is applicable : AFAICS the `isProposed` method is only
> used by the ZPT UI.
>
> I would suggest that `doStep` method of `upgradeStep` class should check
> applicability or at least that the tool should check before running the
> step.
>
> Opinions ?
-1
'isProposed' just gives a recommendation. Sometimes it is useful to
(re-)run steps that are not proposed. The ZMI page and
'manage_doUpgrades' intentionally allow to ignore 'isProposed' restrictions.
Cheers,
Yuppie
More information about the Zope-CMF
mailing list