Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

White screen on navigating to a content type with nested components in the Content Manager #20140

Open
luke-z opened this issue Apr 17, 2024 · 0 comments

Comments

@luke-z
Copy link

luke-z commented Apr 17, 2024

Bug report

Required System information

  • Node.js version: 20.11.0
  • yarn version: 1.22.21
  • Strapi version: experienced with 4.22.1 & 4.23.1
  • Database: sqlite
  • Operating system: WSL Ubuntu on Windows 11
  • Is your project Javascript or Typescript: TS

Describe the bug

When switching from one content type to another in the Content Manager, a white screen appears.
I managed to reproduce the error and saw that it happens when switching to a content type that has nested components.

Steps to reproduce the behavior

  1. Create a new strapi project
  2. Add a first content type (a basic text field is enough)
  3. Add two components, of which one nests the other.
  4. Add the nesting component to a new content type
  5. Go to the Content Manager and switch between the two content types.
  6. When switching from the content type without nested components to the other, a white screen should appear

The problem doesn't happen with "simple" components, only when using a nested component.

Expected behavior

The white screen shouldn't happen.

Additional context

According to the chrome dev tools, the issue should be this line:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To review
Development

No branches or pull requests

1 participant