Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
user system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2014 at 19:46 UTC
Updated:
29 Jul 2014 at 23:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tstoecklerLet's see what breaks,
Comment #3
tstoecklerLet's see how far this one goes:
Comment #5
tstoecklerThis should be green.
Btw, as I realize that that's not entirely obvious from the code:
The dependency of User module on Field module is due to ContentEntityDatabaseStorage - and by extension UserStorage - requiring the FieldInfo service which is provided by Field module.
This will be fixed with #2144263: Decouple entity field storage from configurable fields (or a follow-up thereof) at which point the dependency can probably be removed again, but for now it is a dependency, so we should declare it.
Also changed back to using $enable_dependencies = FALSE for performance in installer.
Comment #6
tstoeckler5: 2249113-5-user-install-use-api.patch queued for re-testing.
Comment #7
berdir#2116363: Unified repository of field definitions (cache + API) should take care of the dependency.
Comment #8
jessebeach commentedI've reverted the change to
ModuleHandler::install(). It's erroneous to the issue in this patch.Added two @todos: one for determining the langcode and one for removing the field dependency in User. Both have associated issues.
Comment #9
sunWhat's the default status for new user accounts?
cf. #2257761: Interactive installer tests cause emails to be sent out
Comment #10
jessebeach commentedActive, with a note in the User Entity base field definition:
Comment #11
berdirThanks this looks good. We're not changing the default and I don't think the e-mail is related to the default status, as it is only sent later after you filled out the final configuration form where the user already exists AFAIK. drush has a setting to prevent that, see drush si --help.
Comment #12
alexpottCommitted 902098c and pushed to 8.x. Thanks!
Comment #14
tstoeckler@jessebeach: Thanks for the patch update. Extracted the ModuleHandler change into #2267911: Remove pointless condition in ModuleHandler::install().