Tuesday, June 29, 2010

Problem using Security Component having integer as fieldnames

Hi,

I've a problem using cake's security component when my field names are
integer. For example I've several checkboxes named:
data[MyModel][1]
data[MyModel][2]
data[MyModel][3]

When I activate the security component, the validation of the post
data failes. The fields are properly written by the formhelper, but
every time I submit the form my application runs into the blackhole.

What am I doing wrong or is this a bug in the cake core?

Thanks a lot for your help!

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: