Re: max string length / textarea form
Re: max string length / textarea form
- Subject: Re: max string length / textarea form
- From: Dev WO <email@hidden>
- Date: Sat, 27 Aug 2005 19:46:02 +0200
Hi Wolfram,
Have you checked the width/type of the column in your database? I
don't know enough about MySQL, but I believe there are different
types of TEXT, in addition to the usual VARCHAR and BLOB types.
Yes, I've checked because when I starting experiencing the issue I
though it would come from that.
So I checked the value of TEXT and it should have been OK, but just
in case I changed to MEDIUMTEXT which is supposed to hold 16M of
characters! and I'm starting having problems when I cross the 255
characters, everything bigger than 255 gets truncated by 5 to 10
characters!
Just a thought.
- josh
I had a similar problem when changing from VARCHAR to TEXT.
In VARCHAR i had a width setting, switched to TEXT and as far as i
remember,
i had to remove the width setting for correct TEXT handling.
I made sure no length was specified, neither in EOModel nor in MySQL.
255 is the max length of a varchar field and the docs says: mysql
converts
automatically to bigger text types. Probably the handling in the
different
layers is not consistent.
What is very strange is that the text isn't crop to 255, but
truncated by a couple characters whatever is length is ( when more
than 255).
Someone mentioned a driver/adaptor problem...
I tried 3.1.10 and the 3.2.0 alpha, and it seems like the problem's
still here...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden