<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Sat May 25 10:37:29 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-1885/DDC-1885.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-1885] Problem with column quoting on Delete</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1885</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;delete($entity) from BasicEntityPersiter is not considering that the columns might be quoted.&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;public&lt;/span&gt; function delete($entity) {
	$identifier = $&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;deleteJoinTableRecords($identifier);

        $id = array_combine($&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_class-&amp;gt;getIdentifierColumnNames(), $identifier);
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_conn-&amp;gt;delete($&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_class-&amp;gt;getQuotedTableName($&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_platform), $id);
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The third line:&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;        $id = array_combine($&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_class-&amp;gt;getIdentifierColumnNames(), $identifier);
        &lt;span class=&quot;code-comment&quot;&gt;// might be fixed in &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; way (as example):
&lt;/span&gt;        foreach ($identifier as $columnName =&amp;gt; $value) {
                $id[$&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_class-&amp;gt;getQuotedColumnName($columnName, $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_platform)] = $value;
        }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="13792">DDC-1885</key>
            <summary>Problem with column quoting on Delete</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="ignaciolarranaga">Ignacio Larranaga</reporter>
                        <labels>
                    </labels>
                <created>Wed, 20 Jun 2012 19:11:16 +0000</created>
                <updated>Wed, 4 Jul 2012 23:24:40 +0000</updated>
                    <resolved>Wed, 4 Jul 2012 23:24:40 +0000</resolved>
                            <version>2.1.6</version>
                                <fixVersion>2.3</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="18104" author="fabio.bat.silva" created="Wed, 20 Jun 2012 20:07:26 +0000"  >&lt;p&gt;code format&lt;/p&gt;</comment>
                    <comment id="18105" author="fabio.bat.silva" created="Wed, 20 Jun 2012 20:09:57 +0000"  >&lt;p&gt;Hi Ignacio, &lt;/p&gt;

&lt;p&gt;I think it will be fixed by :&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/372&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/372&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Anyway could you attach a test case for this one please ?&lt;/p&gt;</comment>
                    <comment id="18140" author="ignaciolarranaga" created="Mon, 25 Jun 2012 21:49:12 +0000"  >&lt;p&gt;Hi Fabio, sorry I doesn&apos;t have a test case written &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/sad.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                    <comment id="18141" author="fabio.bat.silva" created="Mon, 25 Jun 2012 21:51:24 +0000"  >&lt;p&gt;Hi Ignacio,&lt;/p&gt;

&lt;p&gt;No problem,  could you attach your entities ?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</comment>
                    <comment id="18142" author="ignaciolarranaga" created="Mon, 25 Jun 2012 23:26:16 +0000"  >&lt;p&gt;User and Role, and I was just adding a role and updateing.&lt;br/&gt;
The database is PostgresSQL.&lt;/p&gt;</comment>
                    <comment id="18146" author="fabio.bat.silva" created="Tue, 26 Jun 2012 22:32:46 +0000"  >&lt;p&gt;Thanks Ignacio,&lt;/p&gt;

&lt;p&gt;I&apos;m working on this problem.&lt;/p&gt;</comment>
                    <comment id="18179" author="fabio.bat.silva" created="Wed, 4 Jul 2012 23:24:39 +0000"  >&lt;p&gt;Fixed by : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/4bfdcd32f7548c628fc393e36bf37ef8b97a80a8&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/4bfdcd32f7548c628fc393e36bf37ef8b97a80a8&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11201" name="Role.php" size="1848" author="ignaciolarranaga" created="Mon, 25 Jun 2012 23:26:16 +0000" />
                    <attachment id="11200" name="User.php" size="3739" author="ignaciolarranaga" created="Mon, 25 Jun 2012 23:26:16 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>