<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Wed Jun 19 06:48:58 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-1816/DDC-1816.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-1816] DiscriminatorColumn Metadata wrong</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1816</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;The discriminator column metadata (inheritance) is not properly processed. For example, using an entity described by XML annotations containing&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-xml&quot;&gt;&lt;span class=&quot;code-tag&quot;&gt;&amp;lt;discriminiator-column name=&lt;span class=&quot;code-quote&quot;&gt;&quot;category&quot;&lt;/span&gt; type=&lt;span class=&quot;code-quote&quot;&gt;&quot;string&quot;&lt;/span&gt; length=&lt;span class=&quot;code-quote&quot;&gt;&quot;30&quot;&lt;/span&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;will generate wrong SQL queries containing the column &apos;dtype&apos; instead of &apos;category&apos; when using an XML metadata driver.&lt;br/&gt;
Generating classes from the XML metadata with &lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;doctrine orm:generate-entities --generate-annotations=&quot;true&quot; --generate-methods=&quot;true&quot;  entities&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;produces wrong docblock annotations like&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;@ORM\DiscriminatorColumn(name=&quot;r&quot;, type=&quot;r&quot;, length=r)&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;However, the entity works as expected after correcting the annotation values and replacing the XML meatdata driver by an annotation metadata driver.&lt;/p&gt;</description>
                <environment>Windows 7, PHP 5.38</environment>
            <key id="13690">DDC-1816</key>
            <summary>DiscriminatorColumn Metadata wrong</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="4">Incomplete</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="flo">Florian Schmedding</reporter>
                        <labels>
                    </labels>
                <created>Tue, 8 May 2012 15:01:31 +0000</created>
                <updated>Wed, 1 May 2013 18:37:47 +0000</updated>
                    <resolved>Wed, 1 May 2013 18:37:47 +0000</resolved>
                            <version>2.2.1</version>
                <version>2.2.2</version>
                                                <component>Mapping Drivers</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18237" author="beberlei" created="Sun, 8 Jul 2012 07:08:17 +0000"  >&lt;p&gt;It works for me &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/7b758eee573a2667fccfe72dabacf3639c960911&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/7b758eee573a2667fccfe72dabacf3639c960911&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Can you post your XML mapping that produces this behavior?&lt;/p&gt;</comment>
                    <comment id="20175" author="beberlei" created="Wed, 1 May 2013 18:37:47 +0000"  >&lt;p&gt;No feedback given&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>