Closed (fixed)
Project:
Configuration installer
Version:
8.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2016 at 13:17 UTC
Updated:
19 May 2016 at 16:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
joachim commentedLooks like it's caused by the config file core.menu.static_menu_link_overrides.yml -- but I don't have Contact module enabled.
'drush cex' from the original site is not making this file go away.
Even weirder is the crash still happens after I've deleted this file from the config folder!
Comment #3
alexpottWhich version of Drupal 8 are you using? This is the same error as #2707433: Errors installing from config on 8.1.0-rc1
Comment #4
joachim commentedI'm on 8.1.0.
Comment #5
alexpottAh wow! Is your original install profile standard? If so standard_install() is still firing but you've disabled contact...
Comment #6
joachim commentedYes, the site that I first set up and then exported the config from was using the 'standard' profile.
Comment #7
alexpottConfirmed - added steps to reproduce.
It seems we have two options - neither of which are very nice.
config_installer_fix_profilestep will then uninstall the modules.I think we have to go for option 1 because if the profile install hook does not fire then content entities created by it won't exist and thing might depend on that.
Comment #8
alexpottHere is a patch that does option 1. Test passes locally with the fix applied and fails without it.
Comment #9
joachim commentedYup, confirming the patch fixes the problem. Thanks!
Comment #10
alexpottThanks - I had to reroll the patch cause binary files...