<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Wed Jun 19 18:23:33 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://doctrine-project.org/jira/si/jira.issueviews:issue-xml/DDC-1382/DDC-1382.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Doctrine Project</title>
    <link>http://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-1382] getIdentifierValues causes an exception on entyties that have only association keys</title>
                <link>http://doctrine-project.org/jira/browse/DDC-1382</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;On entities that have only association keys as primary keys:&lt;/p&gt;

&lt;p&gt;Calling BasicEntityPersister::exists() cause the invocation of ClassMetadata::getIdentifierValues() method.&lt;br/&gt;
This method returns associated entities as identifier values. &lt;br/&gt;
Then BasicEntityPersister::exists()  tries to converts these objects to string, instead of searching their primary keys.&lt;/p&gt;

&lt;p&gt;Some problems: &lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;getIdentifierValues have not access to external world (only its class metadata and the current entity).&lt;/li&gt;
	&lt;li&gt;getIdentifierValues is uses in many places of doctrine&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;(sorry for my bad English)&lt;/p&gt;
</description>
                <environment>ubuntu</environment>
            <key id="13026">DDC-1382</key>
            <summary>getIdentifierValues causes an exception on entyties that have only association keys</summary>
                <type id="1" iconUrl="http://doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="goetas">Asmir Mustafic</reporter>
                        <labels>
                    </labels>
                <created>Mon, 19 Sep 2011 08:23:21 +0000</created>
                <updated>Sat, 15 Oct 2011 15:49:28 +0000</updated>
                    <resolved>Mon, 3 Oct 2011 05:16:46 +0000</resolved>
                            <version>2.1</version>
                                <fixVersion>2.1.3</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="16545" author="guilhermeblanco" created="Mon, 3 Oct 2011 05:16:46 +0000"  >&lt;p&gt;Fixed in &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/24042863acbabdcd0fa1432135a9836467f3bce7&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/24042863acbabdcd0fa1432135a9836467f3bce7&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It should be available in next release.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>