<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Mon May 20 06:58:36 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-1392/DDC-1392.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-1392] Merge for not initialized entity proxy object with set ID fails</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1392</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Problem is that UnitOfWork::doMerge() calls ClassMetadata::getIdentifierValues() for the entity but that function doesn&apos;t have case for not initialized proxy. It just reads the Id properties from the object&apos;s reflection.&lt;/p&gt;

&lt;p&gt;It should load the proxy or get the ID stored inside the proxy object or doMerge must initialize it maybe.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13038">DDC-1392</key>
            <summary>Merge for not initialized entity proxy object with set ID fails</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</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="gedrox">Aigars Gedroics</reporter>
                        <labels>
                    </labels>
                <created>Fri, 23 Sep 2011 15:21:21 +0000</created>
                <updated>Mon, 26 Sep 2011 11:13:13 +0000</updated>
                    <resolved>Sun, 25 Sep 2011 16:10:21 +0000</resolved>
                            <version>2.1.1</version>
                                <fixVersion>2.1.2</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16500" author="gedrox" created="Fri, 23 Sep 2011 15:41:41 +0000"  >&lt;p&gt;I have taken the DDC353 test as the base for this test case.&lt;br/&gt;
Hopefully it works because I have executed it in slightly different version without the Doctrine tests environment.&lt;/p&gt;</comment>
                    <comment id="16514" author="beberlei" created="Sun, 25 Sep 2011 16:10:21 +0000"  >&lt;p&gt;Fixed&lt;/p&gt;</comment>
                    <comment id="16528" author="gedrox" created="Mon, 26 Sep 2011 11:13:13 +0000"  >&lt;p&gt;I would put the changes inside the method getIdentifierValues not before it&apos;s execution.&lt;/p&gt;

&lt;p&gt;Isn&apos;t it plausible that it is called with not initialized proxy from somewhere else?&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11066" name="DDC1392Test.php" size="2794" author="gedrox" created="Fri, 23 Sep 2011 15:41:41 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>