Details
-
Bug
-
Resolution: Fixed
-
High
-
3.0.1
-
None
Description
The simplest way to reproduce:
- Create a "Blog" [blog] content type with "Title" [title] text line field.
- Save the "Blog" content type.
- Add "Related posts" [related_posts] content relations field. And choose "Blog" in the "Allowed Content Types" configuration. Save the "Blog" content type.
- Run "php bin/console ezplatform:graphql:generate-schema" to update the schema.
- Rename "Blog" content type: change it's identifier from "blog" to "blog_post".
- Run "php bin/console ezplatform:graphql:generate-schema" to update the schema.
Expected result
The schema is updated
Actual result
Following error message is shown:
In Handler.php line 266: Could not find 'eZ\Publish\SPI\Persistence\Content\Type' with identifier 'ID: blog, Status: 0'