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

Selecting multiple "Add relation" in a Collection Type too quickly causes the tab to become unresponsive. #20320

Open
SSG-Adam opened this issue May 16, 2024 · 0 comments
Assignees
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 version: 5

Comments

@SSG-Adam
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

  • Node.js version:
  • NPM version:
  • Strapi version:
  • Database:
  • Operating system:
  • Is your project Javascript or Typescript:

Describe the bug

If a user was to add multiple Skills relation too quickly without saving the web page becomes unresponsive.
This causes the user to lose all previous work not saved.

Steps to reproduce the behavior

  1. Create 2 Collection Types: Skill and Team
  2. Skill will contain one field named "Skill" of type "text".
  3. Teams will contain a relation of one to many to Skills.
  4. In Content Manager, starting adding multiple Skills in Teams Collection Type.
  5. The entire web page becomes unresponsive and will only be operable on reload of the web page.
  6. Reload the web page will also not have the selected Skills relation saved.

Expected behavior

A clear and concise description of what you expected to happen.

User should be able to add an indefinite amount of relations to a Collection Type without the web page freezing or becoming unresponsive.

@derrickmehaffy derrickmehaffy added 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 version: 5 labels May 31, 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: 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 version: 5
Projects
Status: To be reviewed
Status: To triage
Status: To review
Development

No branches or pull requests

3 participants