backdrop-contrib / seo_meta

SEO Meta Tags module for Backdrop CMS
GNU General Public License v2.0
4 stars 1 forks source link

meta_og_description gives sql error if too long - should give UI feedback instead #24

Closed yorkshire-pudding closed 1 year ago

yorkshire-pudding commented 1 year ago

OG Description field gives no clue as to a maximum number of characters. The phrase between 2-4 sentences is too vague.

Added description that was 940 characters long. Error SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'meta_og_description' at row 1 - details redacted for privacy

When reduced to 200 (same as description above) it saves. The help should give the maximum number of characters and the validation should check that before trying to save to the database.

findlabnet commented 1 year ago

Thanks for for reporting, I'll take care of it as soon as possible.

findlabnet commented 1 year ago

Thank you, fixed in new release 1.x-1.0.15