<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Fri May 24 15:29:15 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/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=fixVersion+%3D+%222.0.6%22+AND+project+%3D+DDC&tempMax=1000&field=key&field=summary
-->
<!-- If you wish to do custom client-side styling of RSS, uncomment this:
<?xml-stylesheet href="http://www.doctrine-project.org/jira/styles/jiraxml2html.xsl" type="text/xsl"?>
-->
<rss version="0.92">
    <channel>
        <title>Doctrine Project</title>
        <link>http://www.doctrine-project.org/jira/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=fixVersion+%3D+%222.0.6%22+AND+project+%3D+DDC</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="4" total="4"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DDC-1208] doctrine-mapping.xsd does not allow for namespacing in discriminator-mapping element</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1208</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;The XSD type for the &apos;class&apos; attribute in the &apos;discriminator-mapping&apos; element is &apos;xs:NMTOKEN&apos;.  But this does not allow the &apos;\&apos; characters used for  PHP namespacing.  The &apos;type&apos; should instead be changed to &apos;xs:string&apos; as shown below:&lt;/p&gt;

&lt;p&gt;&amp;lt;xs:complexType name=&quot;discriminator-mapping&quot;&amp;gt;&lt;br/&gt;
&amp;lt;xs:sequence&amp;gt;&lt;br/&gt;
&amp;lt;xs:any minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot; namespace=&quot;##other&quot;/&amp;gt;&lt;br/&gt;
&amp;lt;/xs:sequence&amp;gt;&lt;br/&gt;
&amp;lt;xs:attribute name=&quot;value&quot; type=&quot;xs:NMTOKEN&quot; use=&quot;required&quot;/&amp;gt;&lt;br/&gt;
&amp;lt;xs:attribute name=&quot;class&quot; type=&quot;xs:string&quot; use=&quot;required&quot;/&amp;gt;&lt;br/&gt;
&amp;lt;xs:anyAttribute namespace=&quot;##other&quot;/&amp;gt;&lt;br/&gt;
&amp;lt;/xs:complexType&amp;gt;&lt;/p&gt;</description>
                <environment>Ay</environment>
            <key id="12715">DDC-1208</key>
            <summary>doctrine-mapping.xsd does not allow for namespacing in discriminator-mapping element</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</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="bobcatsys">Bob Pupazzoni</reporter>
                        <labels>
                    </labels>
                <created>Wed, 15 Jun 2011 00:40:13 +0000</created>
                <updated>Wed, 15 Jun 2011 16:33:41 +0000</updated>
                    <resolved>Wed, 15 Jun 2011 16:33:41 +0000</resolved>
                            <version>Git Master</version>
                                <fixVersion>2.0.6</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15988" author="beberlei" created="Wed, 15 Jun 2011 16:33:41 +0000"  >&lt;p&gt;Fixed, scheduled for 2.0.6&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1193] cascadeRemove misses associations due to proxy not being initialized</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1193</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Let&apos;s assume you have two One-to-One relations A&amp;gt;B&amp;gt;C  (all include cascade remove). You are deleting object A, while object B is not initialized (and so it will be a proxy). In that case the object C is not deleted because UOW misses relation B&amp;gt;C since proxy of B is not initialized&lt;/p&gt;</description>
                <environment>Linux x86_64</environment>
            <key id="12694">DDC-1193</key>
            <summary>cascadeRemove misses associations due to proxy not being initialized</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="xanf">Illya Klymov</reporter>
                        <labels>
                    </labels>
                <created>Fri, 3 Jun 2011 16:03:05 +0000</created>
                <updated>Sun, 5 Jun 2011 08:08:55 +0000</updated>
                    <resolved>Sun, 5 Jun 2011 08:08:55 +0000</resolved>
                            <version>2.0.5</version>
                <version>Git Master</version>
                                <fixVersion>2.0.6</fixVersion>
                <fixVersion>2.1</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15902" author="xanf" created="Fri, 3 Jun 2011 16:06:29 +0000"  >&lt;p&gt;Test case. Expected to be put into Tests/ORM/Functional/Ticket folder&lt;/p&gt;</comment>
                    <comment id="15904" author="xanf" created="Fri, 3 Jun 2011 16:09:45 +0000"  >&lt;p&gt;Right now i&apos;m using this hack inside of UOW:&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;diff --git a/lib/Doctrine/ORM/UnitOfWork.php b/lib/Doctrine/ORM/UnitOfWork.php
index 90d3117..a4891c7 100644
--- a/lib/Doctrine/ORM/UnitOfWork.php
+++ b/lib/Doctrine/ORM/UnitOfWork.php
@@ -1702,7 +1702,10 @@ class UnitOfWork &lt;span class=&quot;code-keyword&quot;&gt;implements&lt;/span&gt; PropertyChangedListener
             &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ( ! $assoc[&apos;isCascadeRemove&apos;]) {
                 &lt;span class=&quot;code-keyword&quot;&gt;continue&lt;/span&gt;;
             }
-            &lt;span class=&quot;code-comment&quot;&gt;//TODO: If $entity &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; Proxy =&amp;gt; Initialize ?
&lt;/span&gt;+            &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ($entity &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; Proxy) {
+                &lt;span class=&quot;code-comment&quot;&gt;// We need to initialize entity &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; we &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt; not miss it&apos;s relations
&lt;/span&gt;+                $entity = clone($entity);
+            }
             $relatedEntities = $class-&amp;gt;reflFields[$assoc[&apos;fieldName&apos;]]-&amp;gt;getValue($entity);
             &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ($relatedEntities &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; Collection || is_array($relatedEntities)) {
                 &lt;span class=&quot;code-comment&quot;&gt;// If its a PersistentCollection initialization is intended! No unwrap!
&lt;/span&gt;}}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;As stated by beberlei IIRC, we should add  public method to the generated proxy class &quot;__doctrineInitializeProxy&quot; or something&lt;/p&gt;</comment>
                    <comment id="15910" author="beberlei" created="Sun, 5 Jun 2011 08:08:55 +0000"  >&lt;p&gt;Fixed and merged into 2.0.x&lt;/p&gt;</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10002">
                <name>Dependency</name>
                                <outwardlinks description="depends on">
                            <issuelink>
            <issuekey id="11731">DDC-733</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                    <attachment id="10997" name="DDC1193Test.php" size="2028" author="xanf" created="Fri, 3 Jun 2011 16:06:29 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1192] fix undefined variable in join-column section of xml driver</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1192</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;$name is undefined, It might be that the fix is as simple as foreach ($manyToOneElement-&amp;gt;&lt;/p&gt;
{&apos;join-columns&apos;}-&amp;gt;{&apos;join-column&apos;} as $name =&amp;gt; $joinColumnElement) {&lt;br/&gt;
but I&apos;m not sure&lt;br/&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;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;br/&gt;
if (isset($manyToOneElement-&amp;gt;{&apos;join-column&apos;})) {&lt;br/&gt;
    $joinColumns[] = $this-&amp;gt;_getJoinColumnMapping($manyToOneElement-&amp;gt;{&apos;join-column&apos;});&lt;br/&gt;
} else if (isset($manyToOneElement-&amp;gt;{&apos;join-columns&apos;}
&lt;p&gt;)) {&lt;br/&gt;
    foreach ($manyToOneElement-&amp;gt;&lt;/p&gt;
{&apos;join-columns&apos;}
&lt;p&gt;-&amp;gt;&lt;/p&gt;
{&apos;join-column&apos;}
&lt;p&gt; as $joinColumnElement) {&lt;br/&gt;
        if (!isset($joinColumnElement&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;name&amp;#39;&amp;#93;&lt;/span&gt;)) &lt;/p&gt;
{
            $joinColumnElement[&apos;name&apos;] = $name;
        }
&lt;p&gt;        $joinColumns[] = $this-&amp;gt;_getJoinColumnMapping($joinColumnElement);&lt;br/&gt;
    }&lt;br/&gt;
}&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;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="12693">DDC-1192</key>
            <summary>fix undefined variable in join-column section of xml driver</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="mvrhov">Miha Vrhovnik</reporter>
                        <labels>
                    </labels>
                <created>Fri, 3 Jun 2011 07:28:56 +0000</created>
                <updated>Sun, 5 Jun 2011 12:51:00 +0000</updated>
                    <resolved>Sun, 5 Jun 2011 12:51:00 +0000</resolved>
                            <version>2.1</version>
                                <fixVersion>2.0.6</fixVersion>
                <fixVersion>2.1</fixVersion>
                                <component>Mapping Drivers</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15923" author="beberlei" created="Sun, 5 Jun 2011 12:51:00 +0000"  >&lt;p&gt;This is a copy paste error from the YAML Driver, i fixed it.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1163] entity persister gets superclasses&apos; metadata for proxied subclass entity</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1163</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Using class table inheritance:&lt;/p&gt;

&lt;p&gt;When a proxy for a subclass-entity is registered at the unit of work and another entity, which references that entities&apos; superclass, is added or removed, the employed entity persister gets/uses the superclasses&apos; metadata.&lt;/p&gt;

&lt;p&gt;If the change-set of the referenced entity contains fields only defined in the subclass, the persister will create bogus SQL because it has no column names or data types: &lt;tt&gt;UPDATE table SET = ? WHERE id = ?&lt;/tt&gt;&lt;/p&gt;


&lt;p&gt;The attached test case is stand-alone, creating an SQLite in-memory DB (sorry, I&apos;m not familiar with your test suite).&lt;/p&gt;

&lt;p&gt;Only the path to Doctrine must be adapted at the top of &apos;run_test.php&apos;.&lt;br/&gt;
The file &apos;SubclassPropertyBugTest.php&apos; also contains a more detailed description.&lt;/p&gt;</description>
                <environment>PHP 5.3.6 on Debian Lenny &amp;amp; WinXP, PostgreSQL 8.4 &amp;amp; SQLite 3</environment>
            <key id="12656">DDC-1163</key>
            <summary>entity persister gets superclasses&apos; metadata for proxied subclass entity</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/critical.png">Critical</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="literal">Stan Imbt</reporter>
                        <labels>
                    </labels>
                <created>Fri, 20 May 2011 22:15:56 +0000</created>
                <updated>Sun, 5 Jun 2011 14:27:34 +0000</updated>
                    <resolved>Sun, 5 Jun 2011 14:27:34 +0000</resolved>
                            <version>2.0.3</version>
                <version>2.0.4</version>
                <version>2.0.5</version>
                                <fixVersion>2.0.6</fixVersion>
                <fixVersion>2.1</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="15932" author="beberlei" created="Sun, 5 Jun 2011 13:48:51 +0000"  >&lt;p&gt;Verified on 2.0.5, interestingly this bug seems to have vanished in 2.1 / master. I will investigate whats wrong.&lt;/p&gt;</comment>
                    <comment id="15934" author="beberlei" created="Sun, 5 Jun 2011 14:22:11 +0000"  >&lt;p&gt;Found the problem and fixed it. Very nasty timing error with inheritance and a false check.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10994" name="testcase.zip" size="5144" author="literal" created="Fri, 20 May 2011 22:15:56 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>