Details
-
Bug
-
Resolution: Done
-
High
-
3.1.1
Description
Steps to reproduce:
- Create CT of name and identifier "author" and add single Text line fieldtype with name and identifier "name".
- Create CT of name and identifier "book" and add single Text line fieldtype with name and identifier "title", add Content relation (single) fieldtype with name and identifier "author" and allowed CT as "author" created in step 1.
- Create some "author" Contents.
- Create "book" Content with "author" relation.
- Remove "author" fieldtype from "book" CT.
- Edit created "book" from step 4. and publish.
Result:
Argument 1 passed to eZ\Publish\API\Repository\Values\ContentType\ContentType::hasFieldDefinition() must be of the type string, null given exception.
Expected result:
No exception.
Notes:
- The same behaviour also occurs for Content relation (multiple) fieldtype.
- Problem doesn't occur in v2.5.