Closed luukverhoeven closed 4 years ago
Converting the DB column "mdl_user_preferences .value" to text is the best solution for now.
I will improve the plugin by storing this information in a separate table and implement a privacy provider for it.
Thanks for adding this. Ken
We have found another problem in that of /lib/moodlelib.php throws a coding error as it contains a limit on the size of data stored in that field
$value = (string)$value;
if (core_text::strlen($value) > 1333)
Hi Ken,
There is a new release in the development branch. Can you validate if this is working as expected?
Changes:
user_preference
-> block_user_favorites
This should solve this issue.
Hi Luuk, We have found that the number of favourites that can be stored are limited because the mdl_user_preferences.value is set to type varchar(1333) in the Moodle database. Obviously we can change this to text, but I wanted to check if this is just an issue with our database (running on MariaDB). Do you have any advice on this? Thanks Ken