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

Dashboard custom configuration string is limited to 256 characters #5617

Closed
mattab opened this issue Apr 16, 2008 · 3 comments
Closed

Dashboard custom configuration string is limited to 256 characters #5617

mattab opened this issue Apr 16, 2008 · 3 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Apr 16, 2008

When customizing the dashboard, we save the layout in the DB so that a given user always has his last customized version of his dashboard. However (due to limitation in a param size in a URL?) this string is truncated at 256 chars. The DB field is TINYTEXT so shouldnt be limited here.
Todo: Build a shorter version of the customization string in order to save dashboards layout with 10+ widgets

@anonymous-matomo-user
Copy link

TINYTEXT

A TEXT column with a maximum length of 255 (28 1) characters. The effective maximum length is less if the value contains multi-byte characters. Each TINYTEXT value is stored using a one-byte length prefix that indicates the number of bytes in the value.

Reference : [http://dev.mysql.com/doc/refman/5.0/en/string-type-overview.html]

@mattab
Copy link
Member Author

mattab commented May 29, 2008

Mindful, thanks for your careful review of my assumption ;-)
This is fixed in last version.

@anonymous-matomo-user
Copy link

This week, the bug occur on my installation. I modify manualy the type of the column from TINYTEXT to TEXT. So it's ok for me.

But, I think it should be done in normal upgrade database process...

@mattab mattab added this to the Piwik 0.9.9 - Stable release milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

2 participants