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

widget cannot become too big #282

Open
daniu-de opened this issue Jan 7, 2024 · 1 comment
Open

widget cannot become too big #282

daniu-de opened this issue Jan 7, 2024 · 1 comment

Comments

@daniu-de
Copy link

daniu-de commented Jan 7, 2024

I had a widget that kept crashing and could not be edited anymore: the edit function brought me into the widget and looked like edit mode but I could not.

As I did not want to loose the complete widget I checked the database and tried to repair it. I removed the last characters until the last closed and tried to do the things I wanted to do again. It happened again ... It seems like if the widget is above a certain size it does not get saved properly anymore and then crashes when opened. Dashboard does not warn about that and the widget is unrepairable broken once that happens ...

@daniu-de
Copy link
Author

daniu-de commented Jan 7, 2024

I think I found the problem: the limit is the database.

I suggest to change the type of "content" to "LONGTEXT" or "MEDIUMTEXT" in dashboard_schema.php I don't think anybody will exceed that limit (of 16MB or 4GB)

Tried that and it works now as expected. A warning would be cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant