<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Tue May 21 04:55:17 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/si/jira.issueviews:issue-xml/DDC-2086/DDC-2086.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Doctrine Project</title>
    <link>http://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-2086] [GH-484] Prevented &quot;Undefined index&quot; notice when updating</title>
                <link>http://doctrine-project.org/jira/browse/DDC-2086</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 jappie:&lt;/p&gt;

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

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

&lt;p&gt;While executing updates on an entity scheduled for update without a change-set, an &quot;Undefined index&quot; notice is raised.&lt;/p&gt;

&lt;p&gt;This issue will occur when you manually call &lt;tt&gt;$em()&amp;#45;&amp;gt;getUnitOfWork()&amp;#45;&amp;gt;scheduleForUpdate()&lt;/tt&gt; on an entity that hasn&apos;t changed. The entity will be included in &lt;tt&gt;UnitOfWork::$entityUpdates&lt;/tt&gt;, but because there are no changes, its oid will not be included in &lt;tt&gt;UnitOfWork::$entityChangeSets&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;I know I&apos;m misusing &lt;tt&gt;scheduleForUpdate()&lt;/tt&gt; a bit in this case, but the notice can easily be prevented with a &lt;tt&gt;!empty()&lt;/tt&gt;.&lt;/p&gt;</description>
                <environment>OS X 10.8.2, PHP 5.3.17, Nginx 1.2.4 (php through FPM)</environment>
            <key id="14139">DDC-2086</key>
            <summary>[GH-484] Prevented &quot;Undefined index&quot; notice when updating</summary>
                <type id="1" iconUrl="http://doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="5" iconUrl="http://doctrine-project.org/jira/images/icons/priorities/trivial.png">Trivial</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>
                        <label>unitofwork</label>
                    </labels>
                <created>Wed, 17 Oct 2012 20:03:13 +0000</created>
                <updated>Fri, 9 Nov 2012 21:10:25 +0000</updated>
                    <resolved>Thu, 25 Oct 2012 02:19:47 +0000</resolved>
                            <version>2.3</version>
                <version>Git Master</version>
                                <fixVersion>2.3.1</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18859" author="beberlei" created="Mon, 22 Oct 2012 01:35:44 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-484&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/484&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/484&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18883" author="fabio.bat.silva" created="Thu, 25 Oct 2012 02:19:47 +0000"  >&lt;p&gt;Merged : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/cd7ef6e7a70d4ff4c25a85fdae71676aa6548ea6&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/cd7ef6e7a70d4ff4c25a85fdae71676aa6548ea6&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>