New upgrade wizards cannot be marked as undone
UpgradeWizardsService marks wizards as done in the registry by using the identifier, not the class name of the wizard.
However listOfWizardsDoneInRegistry only checks for the class name, which causes markWizardUndoneInRegistry to fail, as it relies on this API.
Steps to reproduce:
- Go to install, upgrade
- Mark "Merge be_groups access rights from pages_language_overlay to pages" as undone
Wizard can be executed again
Wizard is still listed as done
[BUGFIX] Use class name to mark upgrade wizards done
To make the registry for done wizards consistent and stay backwards
compatible once all upgrade wizards are converted to use the
new interface, always store the class name of the wizard
instead of its identifier in the registry.
Additionally we now add checks for valid identifiers
to all API methods that receive one.
Tested-by: TYPO3com <firstname.lastname@example.org>
Reviewed-by: Susanne Moog <email@example.com>
Tested-by: Susanne Moog <firstname.lastname@example.org>
Reviewed-by: Wouter Wolters <email@example.com>
Reviewed-by: Anja Leichsenring <firstname.lastname@example.org>
Tested-by: Anja Leichsenring <email@example.com>