backdrop / backdrop-issues

Issue tracker for Backdrop core.
144 stars 40 forks source link

Installer: Hide the "Choose profile" step if only one exclusive profile is present. #3923

Open klonos opened 5 years ago

klonos commented 5 years ago

Description of the bug https://www.drupal.org/node/1961012

A new, optional "exclusive" property was added to installation profile .info files in Drupal 7.22 and Drupal 8.0. If there is only one profile with this exclusive property set to TRUE, the profile selection screen will be skipped and that profile will be installed. If there are multiple profiles with this property, the property will be ignored, and the normal profile selection screen will be displayed.

This works as expected, in that the "Choose profile" step is skipped in the installer, but still shown on the sidebar.

Steps To Reproduce To reproduce the behavior:

  1. On a fresh copy of Backdrop, create a /profiles directory, and add a profile in it.
  2. Edit the .info of the profile, and add exclusive = TRUE to it (if not already exclusive)
  3. Start the installer...

Actual behavior

Screen Shot 2019-07-11 at 2 27 00 am

Expected behavior

Screen Shot 2019-07-11 at 2 27 41 am

PR by @klonos: https://github.com/backdrop/backdrop/pull/2788

ghost commented 4 years ago

Added some notes to PR requesting changes.