Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
entity system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Jun 2013 at 23:26 UTC
Updated:
5 Jul 2015 at 19:12 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dawehnerThere we go.
Comment #3
damiankloip commentedThe bundle labels were still using $bundles variable, and we need to clear the bundleInfo static cache when the entity info definitions are cleared.
Comment #4
damiankloip commentedTim kindly pointed out that I had accidentally included the whole world in the last patch. interdiff is still good!
Comment #6
damiankloip commentedok, lets try once more. Interdiff in #3 is still correct.
Comment #8
damiankloip commentedForgot about this issue, rerolled and fixed the remaining failures in EntityReferenceAdminTest. Not sure why the current tests failed without this fix though... Using key() to get the bundle after iterating over it will return NULL as there is no current key to return.
Comment #9
dawehnerAll looks fine beside the missing issue summary.
Comment #10
dawehnerThank you
Comment #11
alexpottI think we need at least an @see here to the new getBundleInfo and getAllBundleInfo methods.
Comment #12
damiankloip commentedThere we go.
Comment #13
dawehnerThe feedback from alex got adressed, so back to RTBC
Comment #14
alexpottCommitted ea8a4bd and pushed to 8.x. Thanks!
Comment #15.0
(not verified) commentedAdded proper issue summary
Comment #16
yesct commentedShall we have a follow-up to actually replace entity_get_bundles() that already exist in core?
Comment #17
mile23Yes. :-) #2427637: Remove usages of deprecated entity_get_bundles()
Comment #18
mile23Added: #2526462: Mark entity_get_bundles() as @deprecated for 9.x.