API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Entity%21...

> \Drupal\Core\Entity\EntityTypeInterface $bundle_entity_type: The ID of the bundle entity type.

If the param is an interface, it's not an ID.

Comments

joachim created an issue. See original summary.

pushpinderchauhan’s picture

Status: Active » Needs review
StatusFileSize
new700 bytes

Just giving it a try.

arunkumark’s picture

Status: Needs review » Needs work

The last submitted patch, 3: incorrect_param_ EntityController_2802593_3.patch, failed testing.

joachim’s picture

I think the patch in #2 looks fine. Patch #3 is failing tests, and also doesn't say it's the bundle.

karlosgliberal’s picture

Version: 8.2.x-dev » 8.3.x-dev
Assigned: Unassigned » karlosgliberal
Status: Needs work » Needs review
StatusFileSize
new700 bytes

Mixed both patches into one file.

joachim’s picture

Status: Needs review » Reviewed & tested by the community

Looks good!

  • catch committed 9bdda95 on 8.3.x
    Issue #2802593 by arunkumark, er.pushpinderrana, karlosgliberal, joachim...

  • catch committed f59cccf on 8.2.x
    Issue #2802593 by arunkumark, er.pushpinderrana, karlosgliberal, joachim...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.3.x and cherry-picked to 8.2.x. Thanks!

Status: Fixed » Closed (fixed)

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

xjm’s picture

Correcting issue credit.