Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
field system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Mar 2014 at 02:27 UTC
Updated:
29 Jul 2014 at 23:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tstoecklerHere we go. Let's see how badly this breaks.
Comment #4
tstoecklerNice, that looks solvable...
Comment #5
tstoecklerComment #6
tstoeckler4: 2209049-4-field-unique-keys.patch queued for re-testing.
Comment #8
tstoecklerNo merge conflict, so must have been a context change.
Comment #9
tstoeckler8: 2209049-8-field-schema-unique-keys.patch queued for re-testing.
Comment #11
lokapujyaComment #13
lokapujyaComment #15
lokapujyaComment #16
lokapujyainterdiff from last patch.
Comment #17
tstoecklerAwesome @lokapujya, thanks a lot!
Anyone want to RTBC?
Comment #18
blueminds commented$unique_key_name has accent mark on the "y" letter.
Otherwise looks fine.
Comment #19
tstoecklerWow @blueminds, nice catch!
Now that #2183231: Make ContentEntityDatabaseStorage generate static database schemas for content entities is in, we can also remove the hardcoded adding of the UUID unique key from ContentEntitySchemaHandler. Also added test coverage for field unique keys now, completing the test coverage of ContentEntitySchemaHandler.
That revealed a small bug of sorts where defaults weren't applied correctly to the table schema.
Comment #21
tstoecklerLet's see if this is green.
Comment #22
blueminds commentedWent through the code, applied, tested, works, looks good.
Comment #23
alexpottCommitted c63692f and pushed to 8.x. Thanks!