<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Tue May 21 11:30: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-2084/DDC-2084.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-2084] EM#find() with association as PK</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2084</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Say I have a association as primary key in my entity, and I want to find it by id.&lt;br/&gt;
I&apos;m calling EntityManager#find(&quot;MyEntity1&quot;, MyEntity2 $entity),&lt;br/&gt;
then it calls UnitOfWork#tryGetById() wich makes implode of sorted ids, and that is error, because sortedId contains object.&lt;/p&gt;

&lt;p&gt;I can implement __toString in my entity, but I think this is work of ORM.&lt;br/&gt;
What are your thoughts?&lt;br/&gt;
I could fix that, but is there some instruction on Doctrine&apos;s workflow?&lt;/p&gt;</description>
                <environment></environment>
            <key id="14134">DDC-2084</key>
            <summary>EM#find() with association as PK</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="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="nikita2206">Nikita Nefedov</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Oct 2012 15:31:38 +0000</created>
                <updated>Tue, 6 Nov 2012 07:18:57 +0000</updated>
                    <resolved>Tue, 6 Nov 2012 01:13:01 +0000</resolved>
                            <version>Git Master</version>
                                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18943" author="fabio.bat.silva" created="Tue, 6 Nov 2012 01:13:01 +0000"  >&lt;p&gt;Fixed : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/d6d5c341e220ff7aec50c8ecabd5d0b8be2e0804&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/d6d5c341e220ff7aec50c8ecabd5d0b8be2e0804&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18944" author="nikita2206" created="Tue, 6 Nov 2012 07:18:57 +0000"  >&lt;p&gt;What about composite keys? AFAIS, this code checks if id is object, but it could be an array of objects.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>