I've found something else out. It appears to be a length issue. If I
cut that paragraph in half it saves it just fine. It's being saved to
a text type field in the database. I'm not setting a maximum length on
it either though. This is my only validation:

'content' => array(
                'MustBe10' => array(
                    'rule' => array('minLength', '10'),
                    'message' => 'Answers must be at least 10 characters long.'
                )
            ),

But when I try to use the whole paragraph the page just refreshes with
no errors and the answer not being saved to the database.

On Feb 15, 11:41 am, andrewperk <[email protected]> wrote:
> Hello,
>
> I'm trying to save a block of german text into my application. It
> allows users to ask questions and users to answer. Most of the website
> is in german. The database charset is utf-8 and collation is
> utf-8_general_ci.
>
> My application saves most german just fine to the database. But when
> trying to save this (this is not encoded just typed in german in case
> it gets escaped or something):
>
> Das Überbrückungsgeld (die sog. Ich-AG) wurde Mitte 2006 eingestellt
> und durch einen Existenzgründerzuschuss (Gründerzuschuss) ersetzt.
> Dieser kann bei der Bundesagentur für Arbeit zur Unterstützung der
> Existenzgründung aus der Arbeitslosigkeit beantragt werden. Die ersten
> 9 Monate werden Zuschüsse in Höhe des letzten Arbeitslosengeldes sowie
> 300 € zur sozialen Absicherung ausgezahlt. Die 300 € werden um weitere
> 6 Monate verlängert, wenn eine intensive hauptberufliche
> unternehmerische Tätigkeit nachgewiesen wird.
>
> After entering this into the textarea form field and hitting submit
> the page refreshes, with no error and the answer did not get saved to
> the database.
>
> I'm not sure what I need to be looking for to solve this problem. Any
> ideas on what could be stopping it from being saved and not generating
> any validation errors? Its like its submitting but its not getting
> saved. Any help would be appreciated. Thanks.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to