[symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin : use a relation from inherited object ?

2010-02-16 Thread Mikael
Hello, I have a schema with 3 objects : Obj Pc Eth Obj has a relation with Eth (one to many) Pc inherits from Obj I've installed the ahDoctrineEasyEmbeddedRelationsPlugin and it works well with Obj, but I can't get it working on Pc. Would it be possible ? If so, how should I do it ? Thanks

Re: [symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin : use a relation from inherited object ?

2010-02-16 Thread Daniel Lohse
Hey there, I'm the plugin developer. There are few things that need work and I was much too fast to pull the trigger on the 'stable' designation. Won't happen again. To get to the point: may I see your schema.yml? And if you had a few fixtures for me to work with, I'd take a closer look.

Re: [symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin : use a relation from inherited object ?

2010-02-16 Thread Stéphane
Hi, Another good thing would be it to avoid the creation of 1:1 related object, as Doctrine automatically creates an item when requested. I think we should make this an option (and correct the hasReference which always returns true). Cheers, Before Printing, Think about Your Environmental

Re: [symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin : use a relation from inherited object ?

2010-02-16 Thread Daniel Lohse
Hey Stéphane, did I miss something? I'm not following. :) Can you elaborate more about your last post? Thanks! Daniel On 16.02.2010, at 13:52, Stéphane wrote: Hi, Another good thing would be it to avoid the creation of 1:1 related object, as Doctrine automatically creates an item when

Re: [symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin : use a relation from inherited object ?

2010-02-16 Thread Daniel Lohse
Oh... I have a fix for that in my local repo. If the relation is 1:1 and it already has a record then I don't show the add empty form. So the user can then only edit that record or delete it. But I smell a bug there... oh, nevermind my previous sentence above. I think that's really a bug

Re: [symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin : use a relation from inherited object ?

2010-02-16 Thread Daniel Lohse
Hey there, so... after a little fight with my new friend git and GitHub my bugfixes are finally available to you. I fixed a few things, just have a look at the changelog. Working with 1:1-relations is now easier and doesn't embed the add new form if there already is a related object – stupid