Problem/Motivation

After installing on a clean D10 (D10.6.13 - PHP 8.4.23) and during configuration, I encountered the following errors:

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "synonym_map" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 142 of core/lib/Drupal/Core/Entity/EntityTypeManager.php).
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "scoring_profile" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 142 of core/lib/Drupal/Core/Entity/EntityTypeManager.php).
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "semantic_configuration" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 142 of core/lib/Drupal/Core/Entity/EntityTypeManager.php).

Steps to reproduce

/admin/config/search/search-api/server/{id}/azure-synonym-maps
/admin/config/search/search-api/index/{id}/scoring-profiles
/admin/config/search/search-api/index/{id}/semantic-configurations

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

krisp created an issue. See original summary.

krisp’s picture

Issue summary: View changes
rinus van linden’s picture

Assigned: Unassigned » rinus van linden

collinhaines made their first commit to this issue’s fork.

collinhaines’s picture

The issue was that the three entities provided by this module were defined using Drupal 11's ContentEntityType attribute. This attribute was never backported to Drupal 10. The commit adds in annotations for D10 usage.

rinus van linden’s picture

Status: Active » Reviewed & tested by the community

Thank you Collin for providing a fix for this issue, i've reviewed and tested it and this works!!

rinus van linden’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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