<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Tue May 21 23:27:08 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-1136/DDC-1136.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-1136] Prevent backup files to be recognized as valid Entity files</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1136</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;The Doctrine2 generator backup Entity files when it adds code into them. The files are named after the original file with a ~ prepended.&lt;/p&gt;

&lt;p&gt;The problem is that these backup files are valid PHP files, and as such, they are loaded by Doctrine2. A PHP fatal error is then fired: &quot;Cannot redeclare class...&quot;.&lt;/p&gt;

&lt;p&gt;Instead of prepending &lt;sub&gt;, why not appending ~, which is a well supported convention? (foo.php&lt;/sub&gt; vs ~foo.php)&lt;/p&gt;

&lt;p&gt;Patch is here: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/35&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/35&lt;/a&gt;&lt;/p&gt;</description>
                <environment>all</environment>
            <key id="12613">DDC-1136</key>
            <summary>Prevent backup files to be recognized as valid Entity files</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="fabpot">Fabien Potencier</reporter>
                        <labels>
                    </labels>
                <created>Thu, 5 May 2011 13:29:22 +0000</created>
                <updated>Sat, 14 May 2011 09:59:31 +0000</updated>
                    <resolved>Sat, 14 May 2011 09:59:31 +0000</resolved>
                            <version>2.0.4</version>
                <version>Git Master</version>
                                <fixVersion>2.0.5</fixVersion>
                                <component>Tools</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15847" author="beberlei" created="Sat, 14 May 2011 09:59:31 +0000"  >&lt;p&gt;Applied and merged to 2.0.x&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>