Finally, by checking the code, I found the lines should be
*  <schema>*
*           <field type="largetext">webc:**welcomeText</field>*
*       </schema>*
Because the content of webpage has this problem too, so I put 3 lines in
default-repository-config.xml:
  <repository name="default">
        <schema>
            <field type="largetext">note</field>
            <field type="largetext">webc:welcomeText</field>
            <field type="largetext">webp:content</field>
        </schema>
...

Thanks for all your kind help !

On Fri, Jun 18, 2010 at 8:29 AM, Jackie Ju <[email protected]> wrote:

> Hi Thierry,
>
> Thanks for your help !
> I tried it but I still got the same exception.
> My default-repository-config.xml :
>
> <?xml version="1.0"?>
> <component name="org.nuxeo.ecm.core.storage.sql.config">
>   <extension target="org.nuxeo.ecm.core.repository.RepositoryService"
>     point="repository">
>     <repository name="default"
>
>  factory="org.nuxeo.ecm.core.storage.sql.coremodel.SQLRepositoryFactory">
>       <repository name="default">
>         <indexing>
>         </indexing>
>
>  
> <xa-datasource>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource>
>         <!-- Property name mentioned in SQLBackendHelper -->
>         <property name="URL">jdbc:mysql://localhost:3306/nuxeo</property>
>         <property name="User">intalio</property>
>         <property name="Password">intalio</property>
>                 <binaryStore path="/var/www/cloud/data/nuxeo/binaries/" />
> *        <schema>*
> *           <field type="largetext">webcontainer:**welcomeText</field>*
> *       </schema>*
>       </repository>
>  </repository>
>   </extension>
> </component>
>
> Is the content correct ?
>
>
> On Tue, Jun 8, 2010 at 4:15 PM, Thierry Martins <[email protected]>wrote:
>
>>  Le 27/05/2010 08:03, Jackie Ju a écrit :
>>
>> Data too long
>>
>> Hello,
>>
>> this is a known issue : https://jira.nuxeo.org/browse/NXP-3993
>>
>> To fix this, you need to add a piece of configuration in your
>> default-repository-config.xml
>>
>> <schema>
>>    <field type="largetext">webcontainer:welcomeText</field>
>> </schema>
>>
>> Cheers
>>
>> --
>> Thierry Martins
>> Nuxeo Support Team
>> Tél: +33 (0)1 80 05 80 89
>> Fax: +33 (0)9 59 10 59 63
>> Enterprise Content Management, open source 
>> !http://www.nuxeo.comhttp://www.nuxeo.org
>>
>>
>> _______________________________________________
>> ECM mailing list
>> [email protected]
>> http://lists.nuxeo.com/mailman/listinfo/ecm
>> To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
>>
>>
>
>
> --
> Best Regards,
> Jackie Ju
>



-- 
Best Regards,
Jackie Ju
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to