As a workaround, adding a __toString method to my behavior p pointing back to to the ext Object::__tosString(ng seemed to work...which is odd because i forgot to register the method...
On Jun 27, 12:55 pm, Ant Cunningham <[EMAIL PROTECTED]> wrote: > With a generated admin I cannot edit a record when there is a foreign key. I > keep gettign an exception from sfMixer when it tires to call > BasePeer::__toString() saying the method does not exist (I have propel > behaviors enabled to accomplish some things with selects/joins on the > frontend). I think this is because call is used with the magic methods (as > mentioned in the comments > here:http://us2.php.net/manual/en/language.oop5.overloading.php). > > The weird thing is when I first generated the admin it was working fine. > Then I edited the generator and somewhere along the way it stopped working > (I havent changed or even rebuitl my model since I started working on the > admin). Now even with the cache cleared via command and the manual deletion > of everything in cache/appname its not working. Even with a freshly > generated admin module and its default generator.yml > > Has anyone else had this issue or know of a solution? > > -ant --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
