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

List label empty causes blank page #20132

Open
samueldfo opened this issue Apr 17, 2024 · 0 comments
Open

List label empty causes blank page #20132

samueldfo opened this issue Apr 17, 2024 · 0 comments
Assignees
Labels
issue: bug Issue reporting a bug severity: low If the issue only affects a very niche base of users and an easily implemented workaround can solve source: core:content-manager Source is core/content-manager package status: pending reproduction Waiting for free time to reproduce the issue, or more information

Comments

@samueldfo
Copy link

  • Node.js version: 20.11.0
  • NPM version:
  • Strapi version: 4.20.2
  • Database: MySql
  • Operating system: macOS Sonoma 14.3.1
  • Is your project Javascript or Typescript: Typescript

Describe the bug

If you override the label displayed in the table's head with nothing the page gets blank.

Steps to reproduce the behavior

  1. Go to any collection
  2. Click on 'view settings'
  3. Click on edit 'created at'
  4. Rename the label for something else (I don't know if this step is really necessary)
  5. Save it
  6. Repeat the steps 2 and 3
  7. Remove the new label, leave it empty
  8. Save it
  9. The error happens, the page gets blank
  10. if you look in the inspect you will see a weird error like:
    image

Expected behavior

Return to the original label -> createdAt

How to solve it

1 - Connect directly to your strapi database
2 - Find the strapi_core_store_settings table
3 - Find the entry from your blank page collection
4 - Include the label again in the "value" json directly in the "list node" that is empty

@joshuaellis joshuaellis added issue: bug Issue reporting a bug severity: low If the issue only affects a very niche base of users and an easily implemented workaround can solve source: core:content-manager Source is core/content-manager package status: pending reproduction Waiting for free time to reproduce the issue, or more information labels May 14, 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: low If the issue only affects a very niche base of users and an easily implemented workaround can solve source: core:content-manager Source is core/content-manager package status: pending reproduction Waiting for free time to reproduce the issue, or more information
Projects
Status: To be reviewed
Status: To review
Development

No branches or pull requests

3 participants