Closed (fixed)
Project:
Drupal core
Version:
8.3.x-dev
Component:
entity system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 May 2016 at 20:27 UTC
Updated:
19 Aug 2016 at 08:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
valthebaldComment #4
valthebaldFix failing tests
Comment #5
john cook commentedRunning
grep -irn "entity_load[^ (]*(\\$" *reveals a lot more calls to entity_load*() functions passing a parameter as the type.Here's the list:
Comment #6
valthebaldLet's try again (not adding interdiff, because there are too many changes)
Comment #7
valthebaldComment #8
john cook commentedAfter applying the patch from #6 no more calls to the functional loads can be found.
There is no extra changes in the patch.
Comment #12
valthebaldFix failing tests
Comment #15
valthebaldFix misspelled variable name
Comment #16
valthebaldComment #17
valthebaldFix another typo
Comment #19
marvin_b8 commentedComment #20
mile23Comment #21
deepakaryan1988Comment #22
deepakaryan1988Rerolled #17
Comment #23
deepakaryan1988Comment #24
mile23Patch applies to 8.3.x, removes usages of entity_load() with a variable entity type.
RTBC and re-running tests.
Comment #26
catchSo there's a lot of changes like this, which are much more verbose, but 99% of them are in tests, so I think the verbosity is fine. It's also a sign that the test could use refactoring (to be either 100% kernel or 100% browser - this is a symptom of mix and match tests usually).
Committed/pushed to 8.3.x and cherry-picked to 8.2.x - given this is 99% test changes better to have in both branches to keep tests in sync.