[Fixed] Doctrine2 Many-to-Many self assocations buggy

0 votes
asked Dec 5, 2012 in Solved by jwagner (3,630 points)
edited Jan 11, 2013 by ludek.vodicka

ORMD 2.1.4.655

When creating a many-to-many association with the same source and target entity, it is not generated correctly. The foreign keys are the same, but even renaming them does not help.

Also, the export is broken as there is no "mappedBy" information being exported. Importing an old ORMD1 project with m2n self-assocs that are known to work shows the same problem.

1 Answer

0 votes
answered Jan 10, 2013 by ludek.vodicka Skipper developer (140,450 points)
selected Jan 14, 2013 by jwagner
 
Best answer

This issue was fixed in latest version 2.1.6.677. You can download this version here http://support.orm-designer.com/31/download-orm-designer2-here

...