Works on entities that have more than 1 bundle, but doesn't work for entities that can have a bundle but only currently have 1. This is confusing because then the jsonapi/[entity_type] path may or may not work depending on the number of configured bundles.

CommentFileSizeAuthor
#2 3125765.patch769 bytesdjdevin

Comments

djdevin created an issue. See original summary.

djdevin’s picture

Status: Active » Needs review
StatusFileSize
new769 bytes
djdevin’s picture

Not even sure this fixes it, but it's somewhere around there.

andreic’s picture

Really, it works for multiple bundles? How?
I'm asking because I have this issue here: https://www.drupal.org/project/jsonapi_cross_bundles/issues/3085486#comm....

mrweiner’s picture

Status: Needs review » Reviewed & tested by the community

I'd assume this may need tests but seems to have fixed the issue for me.

  • mglaman committed 7ab453d8 on 8.x-1.x authored by djdevin
    Issue #3125765 by djdevin: Enable on all bundleable entities
    
mglaman’s picture

Status: Reviewed & tested by the community » Fixed

Seems harmless enough and normalizes things between entity types.

Status: Fixed » Closed (fixed)

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