EntityManager has been split into 11 classes (more info). So now EntityManager and EntityManagerInterface are deprecated.
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | 2869271-14.patch | 1.6 KB | berdir |
| #11 | 2869271-11-Replace-all-usages-of-deprecated-EntityManagerInterface.revert.patch | 1.57 KB | sanduhrs |
| #5 | interdiff.txt | 543 bytes | Pavan B S |
| #5 | 2869271-5.patch | 1.57 KB | Pavan B S |
| #2 | 2869271-2.patch | 1.53 KB | Pavan B S |
Comments
Comment #2
Pavan B S commentedApplying the patch, please review.
Comment #3
laravz commentedHi,
Although the patch was applied successfully I found a minor error in the type hinting. The parameter name in the php doc block has not been changed to $entity_type_manager, while the parameter itself has.
should become
Comment #4
Pavan B S commented@laravz, thanks for the input , I will be working on it.
Comment #5
Pavan B S commentedReapplying the patch, please review.
Comment #6
Pavan B S commentedComment #7
laravz commentedThe patch was applied successfully to both the dev branch and my project branch. Doc block parameter name is now OK, no further issues were found.
Comment #8
dhruveshdtripathi commentedThanks @Pavan B S and @LaravZ for patch and review
Comment #9
dhruveshdtripathi commentedComment #11
sanduhrsAttached is a patch to revert this commit for the time being.
Comment #12
berdirCommitted the revert, this is postponed on core (aka me, I suppose) figuring out what to do about that.
Comment #13
berdirComment #14
berdirHere's a new patch that uses the new pattern to call parent::static() and then assign the property, this avoids having to pas the correct service to the parent, which now actually is a entity repository, not entity type manager.
Comment #15
berdir