I tried to add ftw.upgrade to a quite old package but the instance does not start anymore :/
File "/home/ale/.buildout/eggs/ftw.upgrade-3.0.1-py3.8.egg/ftw/upgrade/directory/zcml.py", line 115, in find_start_version
upgrades.sort(key=attrgetter('dest'))
AttributeError: 'list' object has no attribute 'dest'
I tried to add ftw.upgrade to a quite old package but the instance does not start anymore :/
The reason is that some upgrade steps are registered using the
upgradeSteps
directive, see: https://docs.plone.org/develop/addons/components/genericsetup.html#combining-upgrade-steps, so sometime the element of theupgrades
list areUpgradeStep
instances and some times are lists (containing more than one upgrade step).