When I install entity_share_server in combination with the openapi the ajax loader doesn't load the content when opening the api page.
This issue does not occur with the client module.
The ajax call returns the following error:

{"message":"A fatal error occurred: The \u0022\u0022 entity type does not exist."}

Logged error:

Location:	http://[site]/openapi/jsonapi?_format=json&options%5Bentity_mode%5D=content_entities

Referrer:	http://[site]/admin/api

Message:	Drupal\Component\Plugin\Exception\PluginNotFoundException: The "" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 133 of /[path-to-site]/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php).

Comments

fictionindustries created an issue. See original summary.

fictionindustries’s picture

Issue summary: View changes
Grimreaper’s picture

Assigned: Unassigned » Grimreaper

Hello,

Ok I found the problem. It is due to the route declared by entity_share_server to provide the channel available for a user.

  • Grimreaper authored d1015ba on 8.x-1.x
    Issue #2923093 by fictionindustries, Grimreaper: Remove the _is_jsonapi...
Grimreaper’s picture

Assigned: Grimreaper » Unassigned
Status: Active » Fixed

I have pushed a commit that fix the issue.

Status: Fixed » Closed (fixed)

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