Details
-
Bug
-
Resolution: Unresolved
-
High
-
5.2-dev
-
Server OS: Red Hat 6.4
PHP: 5.3.3
Database: MySQL 5.1.61
Browser: Firefox 20
Description
Creating an class that has the ezpage attribute with the default values will raise an exception
(public api) 1 - create new ContentTypeCreateStruct 2 - add new field definition: - type: ezpage - name: test ( leave all other values as default ) 3 - attempt to save the class 4 - verify that an exception was raised: - eZ\Publish\Core\Base\Exceptions\ContentTypeFieldDefinitionValidationException: ContentType FieldDefinitions did not validate
the contents of the ezpage field definition
eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionCreateStruct Object
(
[fieldTypeIdentifier] => ezpage
[identifier] => ezpage
[names] => Array
(
[eng-GB] => ezpage
)
[descriptions] => Array
(
[eng-GB] => This is an ezpage test
)
[fieldGroup] =>
[position] => 15
[isTranslatable] =>
[isRequired] =>
[isInfoCollector] =>
[validatorConfiguration] =>
[fieldSettings] => Array
(
[defaultLayout] =>
)
[defaultValue] =>
[isSearchable] =>
)
Attachments
Issue Links
- discovered while testing
-
EZP-20950 Legacy Storage ContentType ContentUpdater updates only current version
- Closed