<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Fri May 24 10:34:01 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-2267/DDC-2267.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-2267] EntityManager throws an exception when trying to flush($entity) on a deleted entity</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2267</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;$entity = $em-&amp;gt;find(&quot;Bug&quot;, 1);&lt;br/&gt;
$em-&amp;gt;remove($entity);&lt;br/&gt;
$em-&amp;gt;flush($entity);&lt;/p&gt;

&lt;p&gt;Throws an exception. Works fine with $em-&amp;gt;flush() (No $entity provided).&lt;/p&gt;

&lt;p&gt;Would be nice to just flush the deleted entity separate from other entities. This technically works for other operations except remove(). The exception claims that the entity is not mapped. It technically can&apos;t be mapped since it&apos;s set to be deleted.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14437">DDC-2267</key>
            <summary>EntityManager throws an exception when trying to flush($entity) on a deleted entity</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="gena01">Gennady Feldman</reporter>
                        <labels>
                    </labels>
                <created>Thu, 31 Jan 2013 03:54:57 +0000</created>
                <updated>Sat, 4 May 2013 11:40:19 +0000</updated>
                    <resolved>Sat, 4 May 2013 11:40:19 +0000</resolved>
                            <version>2.3.2</version>
                                <fixVersion>2.3.4</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="20203" author="beberlei" created="Sat, 4 May 2013 11:40:19 +0000"  >&lt;p&gt;Fixed in 2.3 branch, for 2.3.4&lt;/p&gt;</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="14512">DDC-2309</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>