This has been reported by others before, but the cake team has said
this is the expected functionality. If you're really worried about
validating this data then validate the length of the data, otherwise
write a custom regex to handle your requirements.

Cheers,
Adam

On Feb 16, 1:56 am, avairet <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Model : "nature" (id int auto-increment PK / label varchar (50) )
>
> var $validate = array(
>    'label' => array('alphaNumeric')
> );
>
> Create basic functions in NaturesController (view, add, edit)
>
> I launch : "myapp/natures/add"
>
> Add new Nature with label "Article" work fine. Data is saved
> correctly.
> But add label with special characters, like "é" or "-" or blank:
> validation failed!
> Error message is: 'The Nature could not be saved. Please, try again.
> This field cannot be left blank'!?
> I've tested with the 1.2.x.x Nightly builds and 1.2.0.6311 and
> 1.2.0.5875 releases and the problem remains.
>
> Have you noticed that?
>
> Avairet
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to