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 · 2 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: can not reproduce Not enough information to reproduce 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
@Eventyret Eventyret added status: confirmed Confirmed by a Strapi Team member or multiple community members status: pending reproduction Waiting for free time to reproduce the issue, or more information and removed status: pending reproduction Waiting for free time to reproduce the issue, or more information status: confirmed Confirmed by a Strapi Team member or multiple community members labels Jun 11, 2024
@Eventyret
Copy link
Contributor

Can't reproduce this in 5.0.0-beta.9 unable to do Step 4 here as when trying to add anything it's blank and you can't choose anything or vice versa.

@Eventyret Eventyret self-assigned this Jun 11, 2024
@Eventyret Eventyret added status: can not reproduce Not enough information to reproduce and removed status: pending reproduction Waiting for free time to reproduce the issue, or more information labels Jun 11, 2024
Copy link
Contributor

This is a templated message

Hello @SSG-Adam,

Thank you for reporting this bug, however we are unable to reproduce the issue you described given the information we have on hand. Can you please create a fresh project that you are able to reproduce the issue in, provide clear steps to reproduce this issue, and either upload this fresh project to a new GitHub repo or compress it into a .zip and upload it on this issue?

We would greatly appreciate your assistance with this, by working in a fresh project it will cut out any possible variables that might be unrelated.
Please note that issues labeled with status: can not reproduce will be closed in 14 days if there is no activity.

Thank you!

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: can not reproduce Not enough information to reproduce version: 5
Projects
Status: To be reviewed
Status: Can't reproduce
Status: Can't reproduce on Strapi 5
Development

No branches or pull requests

5 participants