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

_______________________________________________
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Reply via email to