[Rt-devel] RT 3.4.0 - Problems with Custom Field Type Text
truncating values
Scott Hebert
scoheb at gmail.com
Tue Feb 8 11:17:27 EST 2005
The type of the Field Content in ObjectCustomFieldValues is longtext.
>From mysql.com
LONGBLOB , LONGTEXT
A BLOB or TEXT column with a maximum length of 4,294,967,295 or 4GB
(2^32 − 1) characters. Up to MySQL 3.23, the client/server protocol
and MyISAM tables had a limit of 16MB per communication packet / table
row. From MySQL 4.0, the maximum allowed length of LONGBLOB or
LONGTEXT columns depends on the configured maximum packet size in the
client/server protocol and available memory
My maximum packet size is set to max_allowed_packet = 50M.
Scott
On Tue, 08 Feb 2005 11:09:35 -0500, Stephen Turner <sturner at mit.edu> wrote:
> At Tuesday 2/8/2005 10:53 AM, Scott Hebert wrote:
> >Hi,
> >
> >I recently upgraded to RT 3.4.0 and am making use of the new Text
> >Custom Field Type.
> >
> >Unfortunately, the CF Values are getting truncated.
> >
> >I am entering large paragraphs of text (about 30 lines) and the value
> >being saved with only about 5 lines.
> >
> >I've been trying to track this down and have found that in Recond.pm
> >the $args{'Value'} is different compared to $new_value->Content which
> >is returned from $cf->AddValueForObject.
> >
> >I will continue to delve deeper into the code, but any assistance
> >would be greatly appreciated.
> >
> >Thanks,
> >
> >Scott
>
> I think text CFs have a maximum of 255 characters.
>
> Steve
>
>
More information about the Rt-devel
mailing list