Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
comment.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Jan 2014 at 22:13 UTC
Updated:
29 Jul 2014 at 23:16 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
larowlanComment #2
larowlanshould be red/green
Comment #5
chx commentedComment #7
larowlan2: comment-default-2172123.pass_.patch queued for re-testing.
Comment #8
benjy commentedLooks good.
Comment #9
andypostcomment field cardinality is 1. so first line is useless
Comment #10
andypostthe fix, still rtbc
Comment #12
alexpottcomment_field_instance_create()also causes issues for syncing configuration and properly removing comment fields (currently excluded fromfield_purge_batch())This blocks #1808248: Add a separate module install/uninstall step to the config import process
Comment #13
larowlanUpdated issue summary/title
Working on this
Comment #14
larowlanHave at it bot.
Comment #15
larowlanComment #16
larowlanComment #17
andypostNot sure we still need hook create implementation because it was a workaround for fields created via Field UI that does not set default values. Suppose now Entity field api should set this defaults
Comment #18
chx commentedSo what's up with this critical now?
Comment #19
larowlan#17 default stuff is #2175017: FieldDefinition::create() doesn't populate default 'settings' for the field type
Comment #20
tim.plunkettThis was RTBC before, and @larowlan linked to the defaults issue.
The code looks good to me!
Comment #21
berdirThe referenced issue is only about FieldDefinition, meaning base fields *and* it's about settings, this is about the default value. Not related.
Comment #22
webchickThis looks straight-forward to me, but shooting it over to alexpott since he can better evaluate whether the fixes here unblock that other issue.
Comment #23
alexpottCommitted 854c866 and pushed to 8.x. Thanks!