The name AForm is used for the form of model A, so it's rather a conflict with the naming concept than a bug.
On Fri, Jul 31, 2009 at 08:43, seifolah Ghaderi<[email protected]> wrote: > Thanks.I solved it. > I rename my matchForm to MatchSheet,and it work's! > I think itmay be a bug.When We have a module named A and another named AForm > ,When we call A/new url it rais this error. > On Thu, Jul 30, 2009 at 7:53 PM, Eno <[email protected]> wrote: >> >> On Thu, 30 Jul 2009, seifolah Ghaderi wrote: >> >> > Yes its empty.In both frontend and backend.If I insert some data to my >> > table(in database),it show my list,but when try to edit or create new it >> > rais this error: >> > >> > Catchable fatal error: Argument 1 passed to >> > sfModelGeneratorConfiguration::fixFormFields() must be an instance of >> > sfForm, instance of FarzaneMatchForm given, called in >> > >> > E:\dev\sfproject\farzane\cache\backend\dev\modules\autoMatch\lib\BaseMatchGeneratorConfiguration.class.php >> > on line 182 and defined in >> > >> > E:\dev\sfproject\farzane\lib\vendor\symfony\lib\generator\sfModelGeneratorConfiguration.class.php >> > on line 392 >> > >> > This error rais in *match/new* module and FarzaneMatchForm is another >> > module. >> > I have to module(match and matchForm) and I think this error relate to >> > my >> > module name! >> >> Im guessing that a module called matchForm might be a problem. >> >> >> >> -- >> >> >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" 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/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
