Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
fictionindustries CreditAttribution: fictionindustries for Dropsolid commentedComment #3
GrimreaperHello,
Ok I found the problem. It is due to the route declared by entity_share_server to provide the channel available for a user.
Comment #5
GrimreaperI have pushed a commit that fix the issue.