Problem/Motivation

If more than 1 entity is created an error is thrown when creating programmatically an entity, for example with REST

Steps to reproduce

Create more than 1 entity type, enable the REST service for at least one entity and try to create one.
The website encountered an unexpected error. Please try again later.</br></br><em class="placeholder">Drupal\Core\Entity\Exception\AmbiguousEntityClassException</em>: Multiple entity types found for Drupal\eck\Entity\EckEntity. in <em class="placeholder">Drupal\Core\Entity\EntityTypeRepository-&gt;getEntityTypeFromClass()</em> (line <em class="placeholder">87</em> of <em class="placeholder">core/lib/Drupal/Core/Entity/EntityTypeRepository.php</em>).

This was already discussed here https://www.drupal.org/project/eck/issues/3052282 but using current dev the issue is still there.
tx
Simone

Comments

cimo75 created an issue.