Details
-
Bug
-
Resolution: Fixed
-
Medium
-
2.5.9, 3.0.0-beta5
-
None
Description
$contentTypeHandler->getFieldDefinition(0, Type::STATUS_DEFINED);
throws an error:
TypeError: Argument 1 passed to eZ\Publish\Core\Persistence\Legacy\Content\Type\Mapper::extractFieldFromRow() must be of the type array, bool given, called in /Users/sd/Projects/ez/bundles/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Type/Handler.php on line 504
Instead of throwingÂ
\eZ\Publish\Core\Base\Exceptions\NotFoundException