Hi,
Can you make Text Area into a Text Field so that we can have a limit because I get this problem when I exceeded 255 characters.

thanks.

PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'field_description_metatags_quick' at row 1: INSERT INTO {field_data_field_description} (entity_type, entity_id, revision_id, bundle, delta, language, field_description_metatags_quick) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6); Array ( [:db_insert_placeholder_0] => node [:db_insert_placeholder_1] => 2 [:db_insert_placeholder_2] => 230 [:db_insert_placeholder_3] => page [:db_insert_placeholder_4] => 0 [:db_insert_placeholder_5] => en [:db_insert_placeholder_6] => Remed Pharma SA NV was created from the activities of Remed SA NV, a well known company in the Pharmaceutical field since 1963, as a specialized producer of various lines of condoms PREVENTOR and LOVE CONDOM water based lubricating gel as well as Rapid Diagnostic Tests. ) in field_sql_storage_field_storage_write() (line 424 of X:\Web Development File\www\drupal7\modules\field\modules\field_sql_storage\field_sql_storage.module).

Comments

Amarjit’s picture

Agreed.

Spiders usually limit reading of meta tags to certain amount of characters or words. Such as keywords being 120 or seomthing similar?

Anyway, a textfield looks neater than a textarea, with say 5 rows. This should be an addition of another widget in your module I believe.

valthebald’s picture

Assigned: Unassigned » valthebald

I will add textfield widget to the 1.0 release (already committed to git)

valthebald’s picture

Version: 7.x-1.0-beta4 » 7.x-1.0
Status: Active » Fixed

You are welcome to download version 1.0 :)

mjgruta’s picture

thanks!

Amarjit’s picture

Fantastic, thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.