<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Wed Jun 19 10:53:02 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-1163/DDC-1163.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-1163] entity persister gets superclasses&apos; metadata for proxied subclass entity</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1163</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Using class table inheritance:&lt;/p&gt;

&lt;p&gt;When a proxy for a subclass-entity is registered at the unit of work and another entity, which references that entities&apos; superclass, is added or removed, the employed entity persister gets/uses the superclasses&apos; metadata.&lt;/p&gt;

&lt;p&gt;If the change-set of the referenced entity contains fields only defined in the subclass, the persister will create bogus SQL because it has no column names or data types: &lt;tt&gt;UPDATE table SET = ? WHERE id = ?&lt;/tt&gt;&lt;/p&gt;


&lt;p&gt;The attached test case is stand-alone, creating an SQLite in-memory DB (sorry, I&apos;m not familiar with your test suite).&lt;/p&gt;

&lt;p&gt;Only the path to Doctrine must be adapted at the top of &apos;run_test.php&apos;.&lt;br/&gt;
The file &apos;SubclassPropertyBugTest.php&apos; also contains a more detailed description.&lt;/p&gt;</description>
                <environment>PHP 5.3.6 on Debian Lenny &amp;amp; WinXP, PostgreSQL 8.4 &amp;amp; SQLite 3</environment>
            <key id="12656">DDC-1163</key>
            <summary>entity persister gets superclasses&apos; metadata for proxied subclass entity</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/critical.png">Critical</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="literal">Stan Imbt</reporter>
                        <labels>
                    </labels>
                <created>Fri, 20 May 2011 22:15:56 +0000</created>
                <updated>Sun, 5 Jun 2011 14:27:34 +0000</updated>
                    <resolved>Sun, 5 Jun 2011 14:27:34 +0000</resolved>
                            <version>2.0.3</version>
                <version>2.0.4</version>
                <version>2.0.5</version>
                                <fixVersion>2.0.6</fixVersion>
                <fixVersion>2.1</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="15932" author="beberlei" created="Sun, 5 Jun 2011 13:48:51 +0000"  >&lt;p&gt;Verified on 2.0.5, interestingly this bug seems to have vanished in 2.1 / master. I will investigate whats wrong.&lt;/p&gt;</comment>
                    <comment id="15934" author="beberlei" created="Sun, 5 Jun 2011 14:22:11 +0000"  >&lt;p&gt;Found the problem and fixed it. Very nasty timing error with inheritance and a false check.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10994" name="testcase.zip" size="5144" author="literal" created="Fri, 20 May 2011 22:15:56 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>