[Zope-CMF] Generic Setup upgrade steps

Godefroid Chapelle gotcha at bubblenet.be
Thu Sep 3 06:52:21 EDT 2009


Hi,

I just went through the Generic Setup upgrade steps code.

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 ?
-- 
Godefroid Chapelle (aka __gotcha) http://bubblenet.be



More information about the Zope-CMF mailing list