Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Pavan B S created an issue. See original summary.

Pavan B S’s picture

Assigned: Pavan B S » Unassigned
Status: Active » Needs review
FileSize
4.61 KB

Applying the patch, please review.

Status: Needs review » Needs work

The last submitted patch, 2: 2867272-2.patch, failed testing.

Pavan B S’s picture

Status: Needs work » Needs review
FileSize
3.99 KB
441 bytes

Applying the patch, please review.

Status: Needs review » Needs work

The last submitted patch, 4: 2867272-4.patch, failed testing.

idebr’s picture

Status: Needs work » Needs review
FileSize
1.72 KB
5.93 KB

This should fix the test failures and remove the remaining usages of the deprecated entity manager.

idebr’s picture

The dependency injection should cast its dependency as an interface. This fixes problems like #2708957: SchedulerManager throws exception on receiving EntityManagerWrapper from web profiler

idebr’s picture

Note this patch has been included in #2867272: Replace all usages of deprecated EntityManager, so it might become outdated if the related issue is resolved.

jonathan1055’s picture

Thanks for the info. However, you pasted the wrong issue number. You have linked this issue with itself. (would be good if that could be a validation check on the submission form).

I think you meant to link to your work on #2868553: Fix the code to adhere to Drupal Best Practice instead.

idebr’s picture

Ah yes, that is the correct reference

idebr’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.