We cannot figure your problem, what variables are, etc. Giving theses values ($value and $rel) has no sense for us, since we don't have their declaration.
Alex' 2009/10/28 Guu_sama <[email protected]> > > Hi, > > I use many embedded Doctrine forms in my project. Everything goes fine > until I upgrade my symfony version from 1.2.7 to 1.2.8. Now, everytime > I save a form with an embedded one, I've got that fatal error : > > "Fatal error: Call to a member function getTable() on a non-object in / > home/dev/workspace/symfony/lib/plugins/sfDoctrinePlugin/ lib/vendor/ > doctrine/Doctrine/Record.php on line 1231" > > At this line we have : $relatedTable = $value->getTable(); > > If I modify this line to $relatedTable = $rel->getTable(); everything > goes fine again. Indeed, in some cases $value is not an instance of > Doctrine_Record but a simple Array. > > After some research on symfony's trac & forums and on Doctrine's Jira, > the problem seems to be that I use same names for my embedded forms > and my relationships. > > I searched carefully symfony and doctrine changelogs, but I do not > understand that new behavior... where is the problem ? Symfony ? > Doctrine ? My apps :-) ? > > These topics are related to my question (I posted there without any > anwser) : > > - http://forum.symfony-project.org/index.php/t/21184/ > - http://www.doctrine-project.org/jira/browse/DC-103 > > Thanks in advance to those who have time to think about my problem > (even without an answer ;-)) > > Best regards, > > Olivier > > > > -- Alexandre Salomé -- [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
