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

[BUG] Strapi loses the connection to the server after saving changes on entities #20220

Open
SalahAdDin opened this issue Apr 27, 2024 · 1 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: confirmed Confirmed by a Strapi Team member or multiple community members version: 5

Comments

@SalahAdDin
Copy link

Bug report

Required System information

  • Environment: development
  • OS: linux-x64
  • Strapi Version: 5.0.0-beta.5
  • Node/Yarn Version: yarn/4.1.1 npm/? node/v20.12.2 linux x64
  • Edition: Community
  • Database: sqlite
  • Typescript

Describe the bug

Every time we save changes on any entity, either creating or updating it, the admin panel disconnects from the backend and we have to manually refresh the browser to get the admin back.

Steps to reproduce the behavior

  1. Go to the Content Manager.
  2. Click on the Collection Type you will work with.
  3. Create/Update any entity from the Collection Type.
  4. Fill the fields.
  5. Save the changes.
  6. Wait until the animation is finished.
  7. See the error.
  8. Click on Try Again.
  9. See the admin back.

Expected behavior

It should refresh itself instead of losing connection to the backend.

Screenshots

StrapiDoesNotRefreshAfterSavingEntities

Code snippets

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

Additional context

It is a basic project, with not third-party plugins on it.

@derrickmehaffy derrickmehaffy added issue: bug Issue reporting a bug severity: high If it breaks the basic use of the product status: confirmed Confirmed by a Strapi Team member or multiple community members source: core:content-type-builder Source is core/content-type-builder package version: 5 labels Apr 29, 2024
@derrickmehaffy
Copy link
Member

I've noticed this as well but I just get a "can't connect" page which looks quite ugly.

@SalahAdDin SalahAdDin changed the title Strapi loses the connection to the server after saving changes on entities [BUG] Strapi loses the connection to the server after saving changes on entities May 2, 2024
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: confirmed Confirmed by a Strapi Team member or multiple community members version: 5
Projects
Status: To be reviewed (Open)
Status: Backlog
Status: To review
Development

No branches or pull requests

2 participants