Active
Project:
Content Construction Kit (CCK)
Version:
6.x-2.9
Component:
CCK in core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Feb 2012 at 23:52 UTC
Updated:
1 Feb 2012 at 23:52 UTC
In this case, there is an existing cck field named field_why_choose with a max-length set to 60.
The max length needs to be increased to 200.
Editing the content type, and changing to 200 has no effect on the field.
If you edit the content type again, the maximum length field is set to 200.. ok good.. but entering new data into field_why_choose still results in a cut-off of 60 chars.
looking at the db for table content_field_why_choose, you can see that the field_why_choose_value is
varchar(60).
mysql> describe content_field_why_choose;
I understand the database issues warnings should the char length of a column be reduced when it already contains data, but increasing the length should be possible.. If not at least disable the max-length field in this case.
+------------------------+------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+------------------------+------------------+------+-----+---------+-------+
| vid | int(10) unsigned | NO | PRI | 0 | |
| nid | int(10) unsigned | NO | MUL | 0 | |
| field_why_choose_value | varchar(60) | YES | | NULL | |
+------------------------+------------------+------+-----+---------+-------+