Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Developer experience
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Mar 2016 at 08:20 UTC
Updated:
13 Apr 2016 at 15:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Purnachandra Rao V commentedComment #3
agoradesign commentedHave you tried out the patch? I didn't, but when I look at the patch contents, I doubt that it'll work for every class, in that you've replaced the EntityManager with the EntityTypeManager - are you sure, that the EntityTypeManager service is already injected everywhere, without changing constructors, factory methods,...
Comment #4
agoradesign commentedchanged the title, marked #2682491: Inject entity type manager and remove the deprecated EntityManagerInterface. as duplicate
Comment #5
bojanz commentedYes, none of that will work. Please run the tests.
The reason why we use the deprecated EntityManager in these places is because the parent classes (belonging to core) inject and use the EntityManager.
You can reroll the patch with just the urlInfo changes.
Comment #6
Purnachandra Rao V commentedThanks for update this issue.
please find updated patch.
Comment #7
bojanz commentedRetitling
Comment #8
bojanz commentedComment #10
bojanz commentedCommitted, along with another fix of a similar nature. Thanks!