<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Fri May 24 07:47:32 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/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+DDC+AND+fixVersion+%3D+%222.3.2%22+AND+status+%3D+Resolved+ORDER+BY+priority+DESC&tempMax=1000&field=key&field=summary
-->
<!-- If you wish to do custom client-side styling of RSS, uncomment this:
<?xml-stylesheet href="http://doctrine-project.org/jira/styles/jiraxml2html.xsl" type="text/xsl"?>
-->
<rss version="0.92">
    <channel>
        <title>Doctrine Project</title>
        <link>http://doctrine-project.org/jira/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=project+%3D+DDC+AND+fixVersion+%3D+%222.3.2%22+AND+status+%3D+Resolved+ORDER+BY+priority+DESC</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="6" total="6"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DDC-2199] Yaml driver does not take into account field @Version attribute</title>
                <link>http://doctrine-project.org/jira/browse/DDC-2199</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Even if field has version: true attribute, Yaml driver does not set class metadata isVersioned and versionField properties. As a result optimistic lock cannot be used.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14312">DDC-2199</key>
            <summary>Yaml driver does not take into account field @Version attribute</summary>
                <type id="1" iconUrl="http://doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://doctrine-project.org/jira/images/icons/priorities/blocker.png">Blocker</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="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="ggalakhov">Georgy Galakhov</reporter>
                        <labels>
                        <label>mapping</label>
                        <label>yaml</label>
                    </labels>
                <created>Fri, 14 Dec 2012 17:30:57 +0000</created>
                <updated>Sun, 16 Dec 2012 12:01:03 +0000</updated>
                    <resolved>Sun, 16 Dec 2012 12:01:03 +0000</resolved>
                            <version>Git Master</version>
                                <fixVersion>2.3.2</fixVersion>
                                <component>Mapping Drivers</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19140" author="beberlei" created="Sun, 16 Dec 2012 12:01:03 +0000"  >&lt;p&gt;Fixed&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2211] [GH-541] Fix DDC-1690</title>
                <link>http://doctrine-project.org/jira/browse/DDC-2211</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of PSchwisow:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/541&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/541&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Added the lines suggested by the original reporter.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14330">DDC-2211</key>
            <summary>[GH-541] Fix DDC-1690</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="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Thu, 20 Dec 2012 21:38:46 +0000</created>
                <updated>Sat, 22 Dec 2012 11:48:27 +0000</updated>
                    <resolved>Sat, 22 Dec 2012 11:48:27 +0000</resolved>
                                            <fixVersion>2.3.2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19169" author="beberlei" created="Sat, 22 Dec 2012 11:38:09 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-541&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/541&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/541&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2206] Setup::registerAutoloadPEAR and registerAutoloadDirectory load Symfony\Componet namespace path through pear is wrong</title>
                <link>http://doctrine-project.org/jira/browse/DDC-2206</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;install doctrine use pear,and the installed path is get_include_path()/Doctrine,get_include_path()/Symfony,but now Symfony\Component namespace path direct to get_include_path()/doctrine,so some file issue&lt;/p&gt;</description>
                <environment>MAC,UBUNTU</environment>
            <key id="14321">DDC-2206</key>
            <summary>Setup::registerAutoloadPEAR and registerAutoloadDirectory load Symfony\Componet namespace path through pear is wrong</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="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="auden">auden</reporter>
                        <labels>
                        <label>Symfony\Component</label>
                        <label>pear</label>
                    </labels>
                <created>Tue, 18 Dec 2012 05:43:10 +0000</created>
                <updated>Sun, 23 Dec 2012 19:35:38 +0000</updated>
                    <resolved>Sun, 23 Dec 2012 19:35:38 +0000</resolved>
                            <version>2.3.1</version>
                                <fixVersion>2.3.2</fixVersion>
                                <component>Tools</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19174" author="beberlei" created="Sun, 23 Dec 2012 19:35:38 +0000"  >&lt;p&gt;Fixed&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2192] Version field not honored by XML driver</title>
                <link>http://doctrine-project.org/jira/browse/DDC-2192</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;When specifying a version field in an XML mapping file, it is never picked up by the XML mapping driver and given to ClassMetadataInfo::setVersionMapping()&lt;/p&gt;</description>
                <environment></environment>
            <key id="14299">DDC-2192</key>
            <summary>Version field not honored by XML driver</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="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="iunruh">Ian Unruh</reporter>
                        <labels>
                    </labels>
                <created>Sun, 9 Dec 2012 11:24:41 +0000</created>
                <updated>Sun, 16 Dec 2012 12:01:16 +0000</updated>
                    <resolved>Sun, 16 Dec 2012 12:01:16 +0000</resolved>
                            <version>2.3.1</version>
                                <fixVersion>2.3.2</fixVersion>
                                <component>Mapping Drivers</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19141" author="beberlei" created="Sun, 16 Dec 2012 12:01:16 +0000"  >&lt;p&gt;Fixed&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2175] Optimistic locking version not refreshed on update for class table inheritance</title>
                <link>http://doctrine-project.org/jira/browse/DDC-2175</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;I am trying to use optimistic locking with class table inheritance.  I put the version column in the base table.  When I perform change a base entity value, persist, and flush, the version in memory does not update to match the new version in the base table.  Consequently, subsequent updates fail with &quot;The optimistic lock on an entity failed.&quot;&lt;/p&gt;

&lt;p&gt;As far as I can tell, the reason is that the update method in Doctrine/ORM/Persisters/JoinedSubclassPersister.php does not call assignDefaultVersionValue in this case.&lt;/p&gt;

&lt;p&gt;This change appears to fix the problem.&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
--- a/lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php
+++ b/lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php
@@ -227,9 +227,10 @@ class JoinedSubclassPersister &lt;span class=&quot;code-keyword&quot;&gt;extends&lt;/span&gt; AbstractEntityInheritancePersister
 
             &lt;span class=&quot;code-comment&quot;&gt;// Make sure the table with the version column is updated even &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; no columns on that
&lt;/span&gt;             &lt;span class=&quot;code-comment&quot;&gt;// table were affected.
&lt;/span&gt;-            &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ($isVersioned &amp;amp;&amp;amp; ! isset($updateData[$versionedTable])) {
-                $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_updateTable($entity, $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;quoteStrategy-&amp;gt;getTableName($versionedClass, $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_platform), array(), &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;);
-
+            &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ($isVersioned) {
+                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (! isset($updateData[$versionedTable])) {
+                    $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_updateTable($entity, $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;quoteStrategy-&amp;gt;getTableName($versionedClass, $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_platform), array(), &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;);
+                }
                 $id = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_em-&amp;gt;getUnitOfWork()-&amp;gt;getEntityIdentifier($entity);
                 $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;assignDefaultVersionValue($entity, $id);
             }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The new code then looks like this:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
            &lt;span class=&quot;code-comment&quot;&gt;// Make sure the table with the version column is updated even &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; no columns on that
&lt;/span&gt;            &lt;span class=&quot;code-comment&quot;&gt;// table were affected.
&lt;/span&gt;            &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ($isVersioned) {
                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (! isset($updateData[$versionedTable])) {
                    $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_updateTable($entity, $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;quoteStrategy-&amp;gt;getTableName($versionedClass, $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_platform), array(), &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;);
                }   
                $id = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_em-&amp;gt;getUnitOfWork()-&amp;gt;getEntityIdentifier($entity);
                $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;assignDefaultVersionValue($entity, $id);
            }   
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

</description>
                <environment></environment>
            <key id="14278">DDC-2175</key>
            <summary>Optimistic locking version not refreshed on update for class table inheritance</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="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="colin">Colin Campbell</reporter>
                        <labels>
                    </labels>
                <created>Wed, 28 Nov 2012 01:40:44 +0000</created>
                <updated>Mon, 24 Dec 2012 10:20:10 +0000</updated>
                    <resolved>Mon, 24 Dec 2012 10:20:10 +0000</resolved>
                            <version>2.3</version>
                                <fixVersion>2.3.2</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1690] Notify policy listeners are not attached to entities with Notify policy</title>
                <link>http://doctrine-project.org/jira/browse/DDC-1690</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;It seems that it happens because the UnitOfWork::addToIdentityMap() is not the only way to add an entity to the identity map. It is possible to do it directly by assigning array values (pulling my hair why?) . But the code in that method also adds a property changed listener to an entity. As a result that entity is not persisted properly as it does not have a listener. I spent a lot of time trying to figure out why some of my entities were persisted and others no. That happens for entities of same class with parent - children associations.&lt;/p&gt;

&lt;p&gt;Probably the notify policy is not very popular otherwise the bug would have been reported long time ago.&lt;/p&gt;

&lt;p&gt;Adding these lines to the UnitOfWork at line 2004 fixes the issue:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;    &lt;span class=&quot;code-comment&quot;&gt;// PERF: Inlined &amp;amp; optimized code from UnitOfWork#registerManaged()
&lt;/span&gt;    $newValueOid = spl_object_hash($newValue);
    $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;entityIdentifiers[$newValueOid] = $associatedId;
    $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;identityMap[$targetClass-&amp;gt;rootEntityName][$relatedIdHash] = $newValue;
    &lt;span class=&quot;code-comment&quot;&gt;// &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; lines
&lt;/span&gt; -- &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ($newValue &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; NotifyPropertyChanged) {
 --     $newValue-&amp;gt;addPropertyChangedListener($&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;);
 -- }
    &lt;span class=&quot;code-comment&quot;&gt;//end of &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; lines
&lt;/span&gt;    $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;entityStates[$newValueOid] = self::STATE_MANAGED;
    &lt;span class=&quot;code-comment&quot;&gt;// make sure that when an proxy is then &lt;span class=&quot;code-keyword&quot;&gt;finally&lt;/span&gt; loaded, $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;originalEntityData is set also!&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="13509">DDC-1690</key>
            <summary>Notify policy listeners are not attached to entities with Notify policy</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="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="deatheriam">Oleg Namaka</reporter>
                        <labels>
                    </labels>
                <created>Thu, 8 Mar 2012 01:59:41 +0000</created>
                <updated>Sat, 22 Dec 2012 11:48:43 +0000</updated>
                    <resolved>Sat, 22 Dec 2012 11:48:43 +0000</resolved>
                            <version>2.1.1</version>
                                <fixVersion>2.3.2</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>1</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="17590" author="guilhermeblanco" created="Thu, 15 Mar 2012 05:37:22 +0000"  >&lt;p&gt;Changing the code (Perf &amp;amp; Inline block) to this:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;$&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;registerManaged($newValue, $associatedId, array($field =&amp;gt; $newValue));
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Also fixed the issue and the performance impact was around 3% during my tests.&lt;/p&gt;</comment>
                    <comment id="17850" author="deatheriam" created="Mon, 16 Apr 2012 02:45:28 +0000"  >&lt;p&gt;So Doctrine 2.2.2 is out but the fix for this serious issue was not included in it. What version then it is supposed to fix? Doctrine seems to be riddled with issues related to the Notify strategy (look here for another related issue: &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-1775&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-1775&lt;/a&gt;). It renders that strategy unusable.&lt;/p&gt;</comment>
                    <comment id="19163" author="pschwisow" created="Thu, 20 Dec 2012 21:41:00 +0000"  >&lt;p&gt;Submitted a pull request for this fix: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/541&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/541&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>