TypeError: Cannot read properties of undefined (reading 'includes') when navigate between two collections #20286
Labels
issue: bug
Issue reporting a bug
severity: medium
If it breaks the basic use of the product but can be worked around
source: core:content-manager
Source is core/content-manager package
status: pending reproduction
Waiting for free time to reproduce the issue, or more information
Bug report
Required System information
Describe the bug
I have 2 collections in Strapi: Content and Comment.
There is relation 'Content belongs to many Comments' added on Content's side
There is another relation 'Content has many Comments' added on the Comment's side.
Everything works fine if there are no comments. However, once I add comment with relation to content and when I navigate from Comment to Content collection there is the following error and white screen:
TypeError: Cannot read properties of undefined (reading 'includes')
message: cancelled
Screenshots
The text was updated successfully, but these errors were encountered: