Important: FlexForm upgrade wizard migrates "Insert plugin" elements of 1.x
Description
The upgrade wizard academic migrates the
settings of 1.x project lists. It named the wizard
academic as a prerequisite, so that it would run
second, on the content elements the plugin wizard creates. TYPO3 accepts only
prerequisites there, such as the database being up to date, and ignores another
wizard without a message. Nothing enforced the order.
A bare vendor/ asks every pending wizard whether it has
anything to do before it runs the first one, and records a wizard that has
nothing to do as done. On an installation upgraded from 1.x, the project lists
are still Insert plugin elements at that moment. The FlexForm wizard
only looked at content elements of the types academicprojects_
and academicprojects_, found none and was recorded as
done. The plugin wizard then converted the elements, and their settings of 1.x,
settings., settings. and
settings., were never migrated. Running
vendor/ before
the plugin wizard had the same result.
The FlexForm wizard now also migrates the Insert plugin elements of
the two plugins, and names no other wizard any more. The two wizards can run in
either order, by name, one after the other in
Admin Tools > Upgrade > Upgrade Wizard, or together in one bare
vendor/.
Impact
The project lists of 1.x keep the selection they had, also when all upgrade wizards run at once.
Affected Installations
Installations upgraded from 1.x that ran a bare vendor/,
or ran the FlexForm wizard before the plugin wizard. The FlexForm wizard is
recorded as done there and is not offered again by itself. Their project lists
fall back to the defaults of these settings: they show completed projects as
well, and they show the filter and the sorting where 1.x hid them.
Up to 2.3 the wizard migrated nothing in any order, see Important: The FlexForm upgrade wizard migrates records. The same recovery applies to both.
Migration
Mark the wizard undone and run it, in Admin Tools > Upgrade > Upgrade Wizard or, on TYPO3 v13, on the command line:
vendor/bin/typo3 upgrade:mark:undone academicProjects_flexFormUpgradeWizard
vendor/bin/typo3 upgrade:run academicProjects_flexFormUpgradeWizard
TYPO3 v12 has no command to mark a wizard undone. There it is marked undone in
the Install Tool, and upgrade: runs it afterwards.
Running it again is safe. It only rewrites a FlexForm that still holds one of the old setting names, and a setting that a save in the backend stored since the upgrade is kept, see Important: FlexForm upgrade wizard migrates the setting name of 1.x.