Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rocket.man created an issue. See original summary.

bkhandruk’s picture

Replaced all usages of entity_create.

Status: Needs review » Needs work
deepakkumar14’s picture

I have reviewed the patch in #2 it is not replacing all the entity_create function of module.
So i have created a new patch for it.

Matroskeen’s picture

Assigned: Unassigned » Matroskeen
Issue tags: +LutskGSW18
Matroskeen’s picture

I've replaced \Drupal::entityTypeManager() with generic Entity classes.
Drupal core tests use this approach, so probably it should be done in this way.

All tests were passes locally.

Patch and interdiff are attached. Please review.

nkoporec’s picture

Status: Needs review » Reviewed & tested by the community

Tested the patch and it's looking good.Moving to RTBC.

Berdir’s picture

Status: Reviewed & tested by the community » Needs work

Will need a reroll.

deepakkumar14’s picture

Status: Needs work » Needs review
FileSize
40.03 KB

I have pulled latest code and applied patch #6 and its working fine.

Status: Needs review » Needs work
Vidushi Mehta’s picture

Status: Needs work » Needs review
FileSize
6.95 KB

Here's a rerolled patch.

voleger’s picture

Status: Needs review » Reviewed & tested by the community

Looks good for me.

subson’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
9.27 KB
2.34 KB

re-rolling the patch along with changes from this issue - #2932591: entity_create, entity_load and other similar functions are deprecated

ApacheEx’s picture

Status: Needs review » Reviewed & tested by the community

The patch from #13 looks clean and done with minimal changes :)
Make it as RTBC.

Berdir’s picture

Status: Reviewed & tested by the community » Needs work

That's the problem with those deprecation/coding style patches, they conflict easily. Sorry but this needs a reroll.

Vidushi Mehta’s picture

Status: Needs work » Needs review
FileSize
9.27 KB

Patch rerolled.

jhedstrom’s picture

Status: Needs review » Reviewed & tested by the community

Looks good!

  • Berdir committed 203352b on 8.x-1.x authored by Vidushi Mehta
    Issue #2855434 by Vidushi Mehta, deepakkumar14, Matroskeen, subson,...
Berdir’s picture

Status: Reviewed & tested by the community » Fixed

Already conflicted again, fixed and committed.

Status: Fixed » Closed (fixed)

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