[Building Sakai] FCK Editor limit in samigo

Steve Swinsburg steve.swinsburg at gmail.com
Fri Oct 30 04:21:33 PDT 2009


Hi,

It's not FCKeditor, its the length restriction of that column in the  
DB for Oracle, and hence in the JSF to restrict it for all. See below,  
and this Jira ticket:
http://jira.sakaiproject.org/browse/SAK-16822


>
> This limit is from Oracle's 4000 character limitation on VARCHAR2  
> fields.
>
> If you are using Oracle, you have to change the column type and  
> increase the validateLength in JSF files. For MySQL, because there  
> is no limit, you can just increase the length of that column and the  
> validateLength in JSF.
>
> By the way, the reason we use 4000 is to keep the behavior consistent.
>

So looks like you'll need to adjust the validateLength in the JSF.


cheers,
Steve


On 30/10/2009, at 6:39 PM, Thach Le wrote:

> Dear,
>
> I deployed the sakai 2.6.1 from the binary package. I use MySQL 5.1.
> How can I configure the FCKEditor to avoid the limitation of 4000  
> characters?
>
> Thach Le
> ---
> Karen Tsao ktsao at stanford.edu
> Tue Jul 7 09:21:02 PDT 2009
>
>    * Previous message: [Building Sakai] FCK Editor limit in samigo
>    * Next message: [Building Sakai] FCK Editor limit in samigo
>    * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>
> Hi Greg,
>
> This limit is from Oracle's 4000 character limitation on VARCHAR2  
> fields. I
> believe UCT uses MySQL? For MySQL, there is no limit. You can try to
> increase the length of that column and increase the validateLength  
> in JSF
> files as well. The reason we use 4000 in all database is just to  
> keep the
> behavior consistent.
>
> By the way, if you want to increase the length for Oracle, you have to
> change the column type.
>
> Thanks,
> Karen
>
> On Tue, Jul 7, 2009 at 8:55 AM, Gregory Doyle <Gregory.Doyle at  
> uct.ac.za>wrote:
>
>> Hi
>> In trying to add a question I come across a 4000 character limit,  
>> yet in
>> the FCK editor in other tools there is no such limit. Any idea why?  
>> Or am I
>> just missing something?
>>
>> Thanks
>> greg
>>
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to
>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>> "unsubscribe"
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090707/d0493675/attachment.html
>
>    * Previous message: [Building Sakai] FCK Editor limit in samigo
>    * Next message: [Building Sakai] FCK Editor limit in samigo
>    * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>
> More information about the sakai-dev mailing list
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org 
>  with a subject of "unsubscribe"



More information about the sakai-dev mailing list