Re: Problem using Security Component having integer as fieldnames

2010-07-07 Thread Quintus
Hi all, I looked up in the cake core code and found that there are to methods that generate the fields hash. The first is in the form helper and generates the fields hash that's displayed at the end of the form. The second one generates a fields hash based on the submitted fields in the Security

Problem using Security Component having integer as fieldnames

2010-06-29 Thread Quintus
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