y.2009 at wcm-solutions
Sep 3, 2009, 6:22 AM
Post #2 of 2
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
> Opinions ?
'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.
Zope-CMF maillist - Zope-CMF [at] zope
See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests