Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
entity system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Dec 2012 at 21:00 UTC
Updated:
29 Jul 2014 at 21:36 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dawehnerHere we go.
Comment #2
chx commentedLove this. Simple and good: removes code, mostly. Ready pending on bot approval.
Comment #4
tim.plunkett#1: drupal-1857442-1.patch queued for re-testing.
Comment #6
dawehnerUrgs, i could have known that.
Comment #8
dawehnerNew patch which passes the installation now.
Comment #9
enhdless commentedBeen a while, patch needs rerolling.
Comment #10
tstoecklerThis should wrap after 80 characters (i.e. after "entity").
Comment #11
longwaveRerolled. Fixed comments as per #10, ensured that all *StorageController classes have a default $values = array(), ensured that all calls to entity_create() no longer pass an empty array() where one isn't needed.
Comment #12
snig commented11: 1857442-entity_create-optional-values-11.patch queued for re-testing.
Comment #14
longwaveRerolled.
Comment #15
snig commentednice work.
grep -Rn "entity_create('.*', array())" * | wc -l
result : 0
RTBC
Comment #16
catch14: 1857442-entity_create-optional-values-14.patch queued for re-testing.
Comment #18
longwaveRerolled.
Comment #21
longwaveMissed FieldableEntityStorageControllerBase::create(), rerolled again.
Comment #22
longwaveNo longer applied, rerolled.
Comment #23
berdirLooks fine, will conflict again with https://drupal.org/node/1867228, but so be it ;)
Comment #24
webchickNice one! This makes the calling code significantly cleaner.
Committed and pushed to 8.x. Thanks!