sonata-project/SonataAdminBundle — Issue #345: Problem with association: This behaviour is (currently) not supported by Doctrine 2
Author: mgws
Created: 2011-10-21 13:12:20+00:00
State: open

Hi,
when I use the command line with "php app/console doctrine:schema:update --force", it give me an error of "This behaviour is (currently) not supported by Doctrine 2". I think is a problem of association. This is my orm.xml:

```

```

then second Entity with one-to-one associations with ListPrice:

```

```
Now I made get/set of the two Entity with command line, I updated the database schema and made Admin and Controller class: all works fine and I can create, edit and delete data with the ActivityPrevAdmin form.
But I want to extend this with another Entity that is associated with Activity. The orm.xml is:

```

```

The creation of get/set of the Entity with command line works fine, but when I update the schema, it give me the error:
This behaviour is (currently) not supported by Doctrine 2

It's impossibile to make association like StorePrev --> ActivityPrev --> ListPrice ?? What's wrong in the code? Anyone have had this problem before?

Thanks for any help!