Issue Feature New Orphaned

#94019Install-Tool UpgradeWizardService should support getWizardUserInput with form or multiple-choice

Gabriel Kaufmann TYPOworx GmbH | NewMedia 04/29/21, 14:02 updated 04/29/21, 14:02

Description

In some cases I had custom Upgrade-Wizards that require some type of decisions input in how to proceed with the upgrade.

I noticed the UpgradeWizardsService::getWizardUserInput() has hard coded Confirmation supporting only Yes or No Questions.

Why isn’t the visible interface build using the Confirmation-Class using some provided form methods?

As the ChattyInterface already provides similar methods for CLI I think it would be most efficient to kind of transform these Inputs to interactive HTML including HTML output for the “Outputs”.

In first place I think about these Inputs:

  • ConfirmationQuestion —> just like the exisiting Confirmable (Yes / No)
  • ChoiceQuestion —> Radio/Multi-Select field

(https://symfony.com/doc/current/components/console/helpers/questionhelper.html)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[FEATURE] Install-Tool UpgradeWizardService should support getWizardUserInput with form or multiple-choice Resolves: #94019 Releases: main