<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Wed May 22 20:50: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-1024/DDC-1024.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-1024] the EntityGenerator generate getters and setters for properties of the parent class</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1024</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;when using the EntityGenerator to generate getters and setters of two classes mapped with annotations, one inheriting from the other, the EntityGenerator generates getters and setters for the properties of the parent class in the child class too. This occurs since the recent EntityGenerator changes (as it did not care about inheritance before).&lt;br/&gt;
I suppose this is due to the fact that the getters and setters of the parent class are not yet generated when handling the child class.&lt;/p&gt;

&lt;p&gt;I haven&apos;t try if it works well when using XML or YAML for the mapping.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12368">DDC-1024</key>
            <summary>the EntityGenerator generate getters and setters for properties of the parent class</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="stof">Christophe Coevoet</reporter>
                        <labels>
                    </labels>
                <created>Wed, 9 Feb 2011 15:16:16 +0000</created>
                <updated>Wed, 4 Jan 2012 11:24:41 +0000</updated>
                    <resolved>Sat, 12 Feb 2011 12:24:53 +0000</resolved>
                            <version>Git Master</version>
                                <fixVersion>2.0.2</fixVersion>
                <fixVersion>2.1</fixVersion>
                                <component>Tools</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>4</watches>
                        <comments>
                    <comment id="15279" author="beberlei" created="Sat, 12 Feb 2011 11:20:38 +0000"  >&lt;p&gt;How do you define inheritance?&lt;/p&gt;</comment>
                    <comment id="15280" author="stof" created="Sat, 12 Feb 2011 11:27:47 +0000"  >&lt;p&gt;In my case, it was inheritance using a Single Table Inheritance.&lt;/p&gt;

&lt;p&gt;Both entities were in the same Symfony2 Bundle so the getters and setters were generated by the same command.&lt;/p&gt;</comment>
                    <comment id="15283" author="beberlei" created="Sat, 12 Feb 2011 12:24:53 +0000"  >&lt;p&gt;fixed&lt;/p&gt;</comment>
                    <comment id="16764" author="yakobe" created="Tue, 1 Nov 2011 15:29:42 +0000"  >&lt;p&gt;I am still having this problem with the 2.1 branch. Should it not happen anymore?&lt;/p&gt;</comment>
                    <comment id="17172" author="albert.brand" created="Wed, 4 Jan 2012 11:24:41 +0000"  >&lt;p&gt;I&apos;m also still seeing this in 2.1 (bundled with Symfony2).&lt;br/&gt;
Using single table inheritance, adding a protected or public property to the abstract class causes private properties &amp;amp; getters &amp;amp; setters to be added to all subclasses.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>