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

Strapi gets stuck on loading screen after creating a Collection Type. Need to reload for the project to run. #20149

Closed
adamtzur1996 opened this issue Apr 18, 2024 · 4 comments
Assignees
Labels
issue: bug Issue reporting a bug severity: high If it breaks the basic use of the product source: core:content-type-builder Source is core/content-type-builder package status: pending reproduction Waiting for free time to reproduce the issue, or more information version: 5

Comments

@adamtzur1996
Copy link

Bug report

Required System information

  • Node.js version: v20.6.1
  • NPM version: 9.8.1
  • Strapi version: 5.0.0-beta.3
  • Database: sqlite
  • Operating system: Ubuntu 22.04.4 LTS
  • Is your project Javascript or Typescript: TypeScript

Describe the bug

Created a very basic collection type called "Products" with 3 texts (1 long description and 2 short), one media single image, a "price" simple integer number and a custom field containing: 1 boolean, two short description texts.

Steps to reproduce the behavior

Create a collection type "Product".

Add the following fields:

  • name -> text (short)
  • sku -> text (short)
  • description -> text (long)
  • Image -> Media (Single media)
  • price -> Number (integer {ex:10})
  • Repeatable Component:
  • customFields -> Component (repeatable)
  • name -> text (short)
  • required -> Boolean
  • options -> Text (short)

Click "save" and the project doesn't reload.

Expected behavior

Once the above steps are implemented, the moment you click save it should get stuck on restarting. After which it will state that the project is taking longer than expected to reload.
Right click on the screen -> click on "Inspect" -> Go to "Console". You will find it.

Screenshots

image

Code snippets

For the entire code error follow the below link:
https://drive.google.com/file/d/17akpjhH4Q_yLy5Ica0CJwIWokFdzcu3B/view?usp=sharing

@derrickmehaffy derrickmehaffy added issue: bug Issue reporting a bug severity: high If it breaks the basic use of the product source: core:content-type-builder Source is core/content-type-builder package status: pending reproduction Waiting for free time to reproduce the issue, or more information version: 5 labels Apr 23, 2024
@derrickmehaffy
Copy link
Member

Can't reproduce on beta.5

@SalahAdDin
Copy link

SalahAdDin commented Apr 26, 2024

@derrickmehaffy I don't know if my issue is related to this one, but after saving any entity, Strapi admin does not refresh itself, and we have to manually refresh the browser to get the admin working back:
StrapiDoesNotRefreshAfterSavingEntities

It happens on the latest beta version.

@joshuaellis
Copy link
Member

@derrickmehaffy I don't know if my issue is related to this one, but after saving any entity, Strapi admin does not refresh itself, and we have to manually refresh the browser to get the admin working back: StrapiDoesNotRefreshAfterSavingEntities StrapiDoesNotRefreshAfterSavingEntities

It happens on the latest beta version.

please open a new issue.

@derrickmehaffy
Copy link
Member

Closing this one since we can't reproduce and the other problem has an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Issue reporting a bug severity: high If it breaks the basic use of the product source: core:content-type-builder Source is core/content-type-builder package status: pending reproduction Waiting for free time to reproduce the issue, or more information version: 5
Projects
Status: Fixed/Shipped
Status: Done
Status: Done
Development

No branches or pull requests

5 participants