[TYPO3-mvc] create action/form is not returning an object but an array -> error
Robert Böttner
lists at boettner.it
Mon Feb 22 18:47:23 CET 2010
Is everything ok when you check your returned POST data with $this->request->getArguments(); ?
Am 22.02.2010 um 18:35 schrieb Franz Koch:
> Hi,
>
>> to my experience that´s often due to some naming missmatches between formfield names (the property attribute) and the actual properties of your model.
>
> thanks, but the error is not thrown on mapping my formFields to the objects properties (I stripped my form down to 1 textbox that's definitely spelled correctly) but in my controller action that's getting a plain array instead of the desired object. As soon as I submit any data in the form, the exception is thrown :(
>
> --
> kind regards,
> Franz Koch
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
More information about the TYPO3-project-typo3v4mvc
mailing list