Skip to content

[Forwardport] Disable "Back" button on the first step of the setup #14460

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 2, 2018
Merged

[Forwardport] Disable "Back" button on the first step of the setup #14460

merged 2 commits into from
Apr 2, 2018

Conversation

namlier
Copy link
Contributor

@namlier namlier commented Mar 30, 2018

Original Pull Request

#14309

Description

When you enter the setup of Magento, the "Back" button is enabled
on the first step. When you click this, you go straight to the
final step of the installation, without entering any data in the
steps, so you can't install Magento at all.

With this commit the back button on the first step of the setup
is always disabled, since there's no previous step, except for the
page where you agree with the terms and conditions, which is not
part of the wizard.

Fixed Issues

  1. Possible to press the "Previous" button while in the first step of the installation #14307: Possible to press the "Previous" button while in the first step of the installation

Manual testing scenarios

  1. Create a fresh Magento 2 environment
  2. Go to the setup wizard in your browser
  3. When on the first step, try to use the "Back" button. This is now disabled with this fix.

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

Arjen Miedema added 2 commits March 30, 2018 08:31
When you enter the setup of Magento, the "Back" button is enabled
on the first step. When you click this, you go straight to the
final step of the installation, without entering any data in the
steps, so you can't install Magento at all.

With this commit the back button on the first step of the setup
is always disabled, since there's no previous step, except for the
page where you agree with the terms and conditions, which is not
part of the wizard.
The "goToStart" method was used for the "Back" button on the first
step, but since that button is disabled now, the method is no longer
used within Magento. Therefore it is removed from the codebase now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants