No Code Attached Yet
avatar yasen-petrov
yasen-petrov
22 Dec 2022

Steps to reproduce the issue

Attempt to save custom CSS into Purity III template. CSS in question is 250+ KB

Expected result

Custom CSS is saved

Actual result

Save failed with message: "Save failed with with the following error: Data too long for column 'params' at row 1"

System information (as much as possible)

Joomla 2.5

Additional comments

field type for #__template_styles.params being LONGTEXT will fix the problem (client of ours does have style sheet too big for TEXT format)

avatar yasen-petrov yasen-petrov - open - 22 Dec 2022
avatar yasen-petrov yasen-petrov - change - 22 Dec 2022
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 22 Dec 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 22 Dec 2022
avatar wilsonge wilsonge - change - 22 Dec 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-12-22 10:09:16
Closed_By wilsonge
avatar wilsonge wilsonge - close - 22 Dec 2022
avatar wilsonge
wilsonge - comment - 22 Dec 2022

This is a won’t fix for us I’m afraid. The bug here is the template saving css into the database rather than loading it into a native file. Storing it and retrieving something that large from the database is significantly worse than storing to file.

avatar brianteeman
brianteeman - comment - 22 Dec 2022

and joomla 2.5 is dead and buried

Add a Comment

Login with GitHub to post a comment