Skip to content

Unable to add a Component to a Dynamic Zone after 4.15.1 upgrade #18665

@dennism501

Description

@dennism501

Bug report

Required System information

  • Node.js version: 20.9.0
  • NPM version: 10.1.0
  • Strapi version: 4.15.1
  • Database: SQLite
  • Operating system: Mac OS
  • Is your project Javascript or Typescript: JS

Describe the bug

After upgrading to 4.15.0 and 4.15.1 as well, I am unable to add a component to a Dynamic zone. Whenever you try to add a component to a DZ, the page breaks and you can not procede

Steps to reproduce the behavior

  1. Update package.json to Strapi 4.15.*
  2. delete node_modules, yarn.lock, .cache
  3. Run yarn && yarn build && yarn develop
  4. Go to any content type with a Dynamic zone in the Content Type Builder
  5. Click on add component button
  6. See error

Expected behavior

Being able to add a component to a Dynamic Zone in the content type builder

Screenshots

I created this loom video to show the steps of recreation.

image

Code snippets

If applicable, add code samples to help explain your problem.

Additional context

Add any other context about the problem here.

Metadata

Metadata

Labels

issue: bugIssue reporting a bugseverity: criticalIf the issue has a security impact or breaks core usage of the productsource: core:content-type-builderSource is core/content-type-builder packagestatus: confirmedConfirmed by a Strapi Team member or multiple community members

Type

No type

Projects

Status

Fixed/Shipped

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions