Hi,
I currently have the following problem with CakePHP (Beta:
1.2.0.6311):
I created a view with a form containing a lot of data.
It looks similar to this:
for($counter = 0; $counter < 200; $counter++) {
echo $this->form->text($counter . '.Model.fieldname');
}
Now if I want to save the submitted data in the controller with $this-
>Model->saveAll($this->data) it only saves the first 50 fields that
have been submitted! I have also checked $this->data with count(). It
contains only (and exactly) 50 fields.
If I use two different models in the view like
echo $this->form->text('AnotherModel.fieldname');
for($counter = 0; $counter < 200; $counter++) {
echo $this->form->text($counter . '.Model.fieldname');
}
$this->data contains exactly 51 fields.
I have looked everywhere, at the cake libs, at the google group, at
the bug tracker. I have found nothing. I'm going nuts with this. Why
is $this->data limited to 50 entries for a model and where can I find/
change this limit? Or is there any other workaround for this problem?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---