Updated: Comment #0
Installation profiles provide default config. For example, the standard profile provides editor.editor.full_html.yml which depends on the editor module because that defines the config entity and it and depends on ckeditor because that is the plugin used.
During installation this does not cause a problem because the standard profile depends on both editor and ckeditor modules.
However, in Drupal 7 the standard profile exists but the editor and ckeditor modules are not the same. If the user does not disable the standard profile after upgrading if the user enables the editor module it will crash. This is because the system tries to install the default config from the profile but ckeditor is not installed (and it can't be because it depends on editor).
Only installation profile default config during installation.
Detect the soft dependencies and do install.
- Pick a solution
- Write tests
- Write code
User interface changes
Adjust ExtensionStorage to have a flag to include install profile configuration or not
Create a config validator service that determines if all the dependencies are met including soft dependecies.
|PASSED: [[SimpleTest]]: [MySQL] 59,122 pass(es).|
|FAILED: [[SimpleTest]]: [MySQL] Setup environment: Test cancelled by admin prior to completion.|
|FAILED: [[SimpleTest]]: [MySQL] 58,846 pass(es), 0 fail(s), and 1 exception(s).|