<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Sat May 18 17:18:48 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-1771/DDC-1771.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-1771] CLI generation of proxies for abstract STI base classes</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1771</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;When I use the CLI tool to generate proxies manually (orm:generate-proxies), a proxy is generated for the abstract entity below, but this proxy is not declared abstract itself. The entity contains abstract methods, and the proxy obviously does not implement these methods, so it, too, must be declared abstract. Because it is not, the next time I try to generate proxies in this manner, I receive a PHP Fatal error:&lt;/p&gt;

&lt;p&gt;Class Proxies&amp;#95;&lt;em&gt;CG&lt;/em&gt;_\Ranking\AbstractRule contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Ranking\AbstractRule::myAbstractMethod)&lt;/p&gt;

&lt;p&gt;My workaround is to delete this proxy first and then regenerate. While a minor inconvenience at this point, it would be great if the proxy generation code could mark proxies as abstract when necessary to avoid these errors.&lt;/p&gt;

&lt;p&gt;Thank you.&lt;/p&gt;

&lt;p&gt;&amp;#8211; Entity&lt;/p&gt;

&lt;p&gt;/**&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;@Entity&lt;/li&gt;
	&lt;li&gt;@InheritanceType(&quot;SINGLE_TABLE&quot;)&lt;/li&gt;
	&lt;li&gt;@DiscriminatorColumn(name=&quot;ranking_rule_type_id&quot;, type=&quot;integer&quot;)&lt;/li&gt;
	&lt;li&gt;@DiscriminatorMap(
{
 *  1 = &quot;ConcreteRuleOne&quot;,
 *  2 = &quot;ConcreteRuleTwo&quot;,
 *  3 = &quot;ConcreteRuleThree&quot;
 * }
&lt;p&gt;)&lt;/p&gt;&lt;/li&gt;
	&lt;li&gt;@Table(name=&quot;ranking_rules&quot;)&lt;br/&gt;
 */&lt;br/&gt;
abstract class AbstractRule&lt;br/&gt;
{&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&amp;#8211; Generated proxy&lt;/p&gt;

&lt;p&gt;/**&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE.&lt;br/&gt;
 */&lt;br/&gt;
class AbstractRule extends \Ranking\AbstractRule implements \Doctrine\ORM\Proxy\Proxy&lt;br/&gt;
{&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
            <key id="13617">DDC-1771</key>
            <summary>CLI generation of proxies for abstract STI base classes</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="breathe">Brent</reporter>
                        <labels>
                    </labels>
                <created>Thu, 5 Apr 2012 23:14:13 +0000</created>
                <updated>Sat, 7 Apr 2012 16:17:09 +0000</updated>
                    <resolved>Sat, 7 Apr 2012 08:31:44 +0000</resolved>
                            <version>2.2.0-RC1</version>
                                <fixVersion>2.2.2</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="17828" author="beberlei" created="Sat, 7 Apr 2012 08:31:44 +0000"  >&lt;p&gt;Fixed&lt;/p&gt;</comment>
                    <comment id="17832" author="breathe" created="Sat, 7 Apr 2012 16:17:09 +0000"  >&lt;p&gt;Thank you, sir.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>