Details
-
Bug
-
Resolution: Fixed
-
High
-
5.2-dev
-
Server OS: Debian
PHP: 5.3.3
Database: MySQL 5.1.61
Browser: Firefox 20
Description
Creating a content type through the API without defining the "names" attribute throws the following error:
PHP Catchable fatal error: Argument 1 passed to eZ\Publish\Core\Persistence\Legacy\Content\Language\MaskGenerator::generateLanguageMask() must be an array, null given, called in /var/www/ezp5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Type/Gateway/EzcDatabase.php on line 398 and defined in /var/www/ezp5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Language/MaskGenerator.php on line 43
Script: https://gist.github.com/MarcosLoureiro/fcb217f5a1dfa31684f1
Attachments
Issue Links
- discovered while testing
-
EZP-21035 User can not be properly created from inside storage
- Closed
- is duplicated by
-
EZP-21407 [Public API] As a developer I want required field name on create content type exception to be clear
- Closed
- testing discovered
-
EZP-21594 Not possible to create ContentType with FieldDefinitions not having "position" property set
- Confirmed