<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Tue May 21 09:04:35 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-2340/DDC-2340.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-2340] Using Criteria matching on non-initialized collections ignore changes made on loaded entities</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2340</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Given:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;you have a non initialized collection (association between entities)&lt;/li&gt;
	&lt;li&gt;you have loaded some entities that are in that collection and changed some fields (without flushing)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;If you do a matching using a Criteria on the collection (&lt;a href=&quot;http://docs.doctrine-project.org/en/latest/reference/working-with-associations.html#filtering-collections&quot; class=&quot;external-link&quot;&gt;http://docs.doctrine-project.org/en/latest/reference/working-with-associations.html#filtering-collections&lt;/a&gt;), then the Criteria will be executed through a DB query. But the fields you changed are not updated in the DB, so if you filter/order on those fields, then the result of the filter() will be incorrect.&lt;/p&gt;

&lt;p&gt;However, if your collection was initialized, the Criteria matching will be done in memory on the ArrayCollection and the result will be correct.&lt;/p&gt;

&lt;p&gt;So we have the problem for Criteria filtering on non-initialized collections.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14676">DDC-2340</key>
            <summary>Using Criteria matching on non-initialized collections ignore changes made on loaded entities</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="mnapoli">Matthieu Napoli</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Mar 2013 13:49:18 +0000</created>
                <updated>Tue, 12 Mar 2013 21:54:35 +0000</updated>
                    <resolved>Tue, 12 Mar 2013 21:54:17 +0000</resolved>
                            <version>2.3</version>
                                <fixVersion>2.3.3</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19848" author="beberlei" created="Tue, 12 Mar 2013 21:54:35 +0000"  >&lt;p&gt;Fixed and merged for 2.3.3&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>