<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Sun May 19 12:31:57 UTC 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.doctrine-project.org/jira/si/jira.issueviews:issue-xml/DDC-2011/DDC-2011.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Doctrine Project</title>
    <link>http://www.doctrine-project.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.7</version>
        <build-number>850</build-number>
        <build-date>21-02-2013</build-date>
    </build-info>

<item>
            <title>[DDC-2011] Schema tool fail to handle ManyToMany relation with an existing joinTable</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2011</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;The schemaTool fail with a Doctrine\DBAL\Schema\SchemaException when trying to handle ManyToMany relation with an existing joinTable.&lt;/p&gt;

&lt;p&gt;My use case :&lt;/p&gt;

&lt;p&gt;I&apos;m using the Tree DoctrineExtension with the Closure strategy. It create a mapping between my Category entity and a CategoryClosure entity.&lt;/p&gt;

&lt;p&gt;For conveniency, I&apos;ve setup a ManyToMany relation between Category and Category with the CategoryClosure table as joinTable. &lt;/p&gt;

&lt;p&gt;Doctrine ORM handle perfectly this case but the schema tool is failing with :&lt;br/&gt;
The table with name &apos;category_closure&apos; already exists.&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14010">DDC-2011</key>
            <summary>Schema tool fail to handle ManyToMany relation with an existing joinTable</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="erichard">Erwan Richard</reporter>
                        <labels>
                        <label>schematool</label>
                    </labels>
                <created>Tue, 4 Sep 2012 07:44:43 +0000</created>
                <updated>Sat, 9 Feb 2013 22:15:31 +0000</updated>
                    <resolved>Sat, 9 Feb 2013 22:15:26 +0000</resolved>
                            <version>Git Master</version>
                                                <component>Tools</component>
                        <due></due>
                    <votes>2</votes>
                        <watches>5</watches>
                        <comments>
                    <comment id="19506" author="asm89" created="Sat, 9 Feb 2013 22:15:31 +0000"  >&lt;p&gt;You can&apos;t expect the schematool to play nice if you use the table of an entity as m2m table.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>