One problem I see with your schema is size should be length. - Jon
On Sun, Nov 23, 2008 at 11:37 AM, Matthias N. < [EMAIL PROTECTED]> wrote: > > Hi Jon, > > like I said it is only one single table because the only goal for me > was to test the new doctrine admin generator and the i18n goodies. > > This is my big fat schema: ;-) > > Content: > actAs: > I18n: > fields: [name, description, content] > columns: > id: > type: integer > size: 4 > unsigned: true > primary: true > autoincrement: true > user_id: > type: integer > unsigned: true > size: 4 > label: > type: string(150) > name: > type: string(200) > description: > type: string(255) > content: > type: string(3000) > > > And.. today.. wow, after a svn up, removing the old route from > routing.yml and regenerating the admin module using the new > possibility to use the model as argument it seems to work now. I was > able to create and edit records. > > But there is a problem with the i18n support: When I delete a record > the records in the translation table are not deleted. > > Do I have to forward the deletion by myself or is this a bug? > > regards, > Matthias > > p.s. thanks a lot for your quick fixes!! :-) > > > On 23 Nov., 01:59, "Jonathan Wage" <[EMAIL PROTECTED]> wrote: > > Can we see your schema being used, routing being used? Everything is > working > > on my end when I execute the tutorials and cookbook articles I have > > published. > > > > Thanks, Jon > > > > On Sat, Nov 22, 2008 at 4:19 PM, Matthias N. < > > > > > > > > [EMAIL PROTECTED]> wrote: > > > > > I have to correct my last posting: Actually the Doctrine admin > > > generator is not usable at all. > > > > > What is the reason of this exception? > > > > > 500 | Internal Server Error | InvalidArgumentException > > > The "/my_route/:id/edit.:sf_format" route has some missing mandatory > > > parameters (:id). > > > > > Please guys, before throwing a RC1 it would have been better to at > > > least do some basic tests... I'm a pretty frustrated now.. :-( > > > > > It seems like I have to do the same thing as with sf 1.1: wait at > > > least 3 patch level releases before start using or even evaluating > > > it. :-( > > > > > regards > > > Matthias > > > > > On 22 Nov., 23:04, "Matthias N." <[EMAIL PROTECTED]> > > > wrote: > > > > Hi, > > > > > > as blog posts look promising I just tried to setup one single table > > > > using i18n inspired by a nice cookbook article [1] from Jon. But > > > > nothing works as expected. :-( > > > > > > build-sql is buggy as config.php is not loaded for some reason, > > > > routing is buggy and after some workarounds I now get this exception > > > > when trying to save a record: > > > > > > 500 | Internal Server Error | Doctrine_Exception > > > > Validator named 'size' not available. > > > > > > But there is no column named 'size' in my 1-table test schema so I > > > > finally gave up.. ;-) > > > > > > Hope to see more fixes soon. Keep up the good work. The sf 1.2 > version > > > > looks very promising!! > > > > > > regards, > > > > Matthias > > > > > > [1] > > > > http://www.symfony-project.org/cookbook/1_2/en/doctrine_admin_generators > > > > -- > > Jonathan H. Wage > > Open Source Software Developer & > Evangelisthttp://www.jwage.comhttp://www.doctrine-project.orghttp:// > 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 developers" 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-devs?hl=en -~----------~----~----~----~------~----~------~--~---
