I was having trouble reproducing this then I realized that it only happens
with admin generators that have filters forms disabled.

I will commit the fix to svn soon.

- Jon

On Tue, Feb 3, 2009 at 3:08 PM, Jonathan Wage <[email protected]> wrote:

> Sorry about this. It will be fixed in SVN shortly.
>
> - Jon
>
>
> On Tue, Feb 3, 2009 at 3:04 PM, nerVo <[email protected]> wrote:
>
>>
>> Same problem here.
>> All my backend is broken.
>>
>> Bernhard is right, getTableMethod() returns an empty string, and the
>> buildQuery() method of the action class try to use this empty string
>> to generate the query.
>> At least, doctrine return a Doctrine_Record_Exception : "Unknown
>> method [myModel]::TableProxy"
>>
>> Sounds like critical :)
>>
>> I recommand to downgrade to 1.2.2
>>
>> On 3 fév, 21:16, Bernhard Schussek <[email protected]> wrote:
>> > Hi,
>> >
>> > I had a similar problem with the Doctrine admin generator when I tried
>> > to upgrade to 1.2.3. I didn't fully investigate it, but I think it was
>> > something along those lines:
>> >
>> > The generated method getTableMethod() in the generator configuration
>> > returns an empty string if no method has been configured.
>> >
>> > http://trac.symfony-project.org/browser/branches/1.3/lib/plugins/sfDo.
>> ..
>> > line 64
>> >
>> > The table method is used to retrieve the records when no filter form
>> > is available, regardless of the fact whether it's empty or not. When
>> > Doctrine::getTable('...')->$tableMethod is called with an empty
>> > $tableMethod variable, the above error occurs.
>> >
>> > http://trac.symfony-project.org/browser/branches/1.3/lib/plugins/sfDo.
>> ..
>> > line 36
>> >
>> > Bernhard
>> >>
>>
>
>
> --
> Jonathan H. Wage
> Open Source Software Developer & Evangelist
> http://www.jwage.com
> http://www.doctrine-project.org
> http://www.symfony-project.org
>



-- 
Jonathan H. Wage
Open Source Software Developer & Evangelist
http://www.jwage.com
http://www.doctrine-project.org
http://www.symfony-project.org

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to