Using GraphQL, Strapi v4.0.7, strapi-plugin-comments 2.0.0.
When content bound to comments is removed, the GraphQL mutation for adding a new comment to said content still succeeds, but renders the relevant page of the admin interface unusable.
Steps to reproduce
Add a Content-Type of api::post.post (Post), having a Rich Text field named content.
Configuration is as follows:
Using GraphQL, Strapi v4.0.7, strapi-plugin-comments 2.0.0. When content bound to comments is removed, the GraphQL mutation for adding a new comment to said content still succeeds, but renders the relevant page of the admin interface unusable.
Steps to reproduce
Add a Content-Type of
api::post.post
(Post), having a Rich Text field namedcontent
. Configuration is as follows:Add a Post entry of
id: 1
(for testing), then remove it. Proceed with the mutationThis should return
Now, trying to access Admin >> Comments (
/admin/plugins/comments/discover
) yields an empty page along with the bundled errorsExpected behavior
Given the fact that the referenced entity does not exist, the mutation should fail, and the Admin interface should still load.