Issue #3633790: EntityTypeManager::hasDefinition() throws for ids that contain a colon

EntityTypeManager::getDefinition() throws LogicException as soon as the id contains ":", including when $exception_on_invalid is FALSE.

hasDefinition() uses that call, so EntityConverter::applies() fatals for a parameter type such as entity:station:uuid. The converter passes station:uuid to hasDefinition().

Return NULL in that case when exceptions are disabled. Still throw when $exception_on_invalid is TRUE.

Closes #3633790

Merge request reports

Loading
Loading