<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Sat May 25 14:11:12 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-2189/DDC-2189.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-2189] Bidirectional one-to-many association with Class Table Inheritance do not work</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2189</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Bidirectional one-to-many association with Class Table Inheritance does not work. Example.&lt;/p&gt;

&lt;p&gt;Entity Box;&lt;br/&gt;
Entity Item;&lt;br/&gt;
Entity BoxItem extends Item;&lt;/p&gt;

&lt;p&gt;BoxItem  has ManyToOne to Box;&lt;br/&gt;
Box      has OneToMany to BoxItems; &lt;/p&gt;

&lt;p&gt;Validation Error:&lt;br/&gt;
Got an error: Entities\Box: &quot;The association Entities\Box#items refers to the owning side field Entities\BoxItem#box which does not exist.&quot;,&lt;/p&gt;</description>
                <environment>PHP 5.4.8 (cli) (built: Oct 18 2012 13:02:07) &lt;br/&gt;
Copyright (c) 1997-2012 The PHP Group&lt;br/&gt;
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies&lt;br/&gt;
&lt;br/&gt;
Fedora Linux 17&lt;br/&gt;
&lt;br/&gt;
mysql  Ver 14.14 Distrib 5.5.28, for Linux (x86_64) using readline 5.1</environment>
            <key id="14296">DDC-2189</key>
            <summary>Bidirectional one-to-many association with Class Table Inheritance do not work</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="6">Invalid</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="syao.work">Ro</reporter>
                        <labels>
                        <label>Mapping</label>
                    </labels>
                <created>Thu, 6 Dec 2012 08:45:05 +0000</created>
                <updated>Mon, 24 Dec 2012 09:23:26 +0000</updated>
                    <resolved>Mon, 24 Dec 2012 09:23:26 +0000</resolved>
                            <version>2.3</version>
                                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>3</watches>
                        <comments>
                    <comment id="19108" author="ocramius" created="Thu, 6 Dec 2012 09:17:37 +0000"  >&lt;p&gt;Not a blocker&lt;/p&gt;</comment>
                    <comment id="19109" author="ocramius" created="Thu, 6 Dec 2012 14:18:32 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=syao.work&quot; class=&quot;user-hover&quot; rel=&quot;syao.work&quot;&gt;Ro&lt;/a&gt; this looks invalid to me. &lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
    /**
     * @MayToOne(targetEntity=&lt;span class=&quot;code-quote&quot;&gt;&quot;Asmuo&quot;&lt;/span&gt;, inversedBy=&lt;span class=&quot;code-quote&quot;&gt;&quot;items&quot;&lt;/span&gt;)
     * @JoinColumn(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;box_id&quot;&lt;/span&gt;, referencedColumnName=&lt;span class=&quot;code-quote&quot;&gt;&quot;id&quot;&lt;/span&gt;)
     */
    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $box;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;What&apos;s `Asmuo`?&lt;/p&gt;</comment>
                    <comment id="19110" author="syao.work" created="Thu, 6 Dec 2012 14:20:26 +0000"  >&lt;p&gt;Sorry, I did post wrong file BoxItem, my mistake, but the bug persists.&lt;/p&gt;</comment>
                    <comment id="19111" author="ocramius" created="Thu, 6 Dec 2012 14:33:41 +0000"  >&lt;p&gt;Just checked on my side with attached entities (changed some namespaces, see latest attached files) and everything&apos;s fine.&lt;br/&gt;
&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=syao.work&quot; class=&quot;user-hover&quot; rel=&quot;syao.work&quot;&gt;Ro&lt;/a&gt; you got a typo on one of your annotations, which is `MayToOne` and should be `ManyToOne`.&lt;/p&gt;</comment>
                    <comment id="19179" author="beberlei" created="Mon, 24 Dec 2012 09:23:26 +0000"  >&lt;p&gt;Error caused by Invalid mapping&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11360" name="Box.php" size="587" author="ocramius" created="Thu, 6 Dec 2012 14:33:41 +0000" />
                    <attachment id="11355" name="Box.php" size="600" author="syao.work" created="Thu, 6 Dec 2012 08:45:05 +0000" />
                    <attachment id="11361" name="BoxItem.php" size="372" author="ocramius" created="Thu, 6 Dec 2012 14:33:41 +0000" />
                    <attachment id="11359" name="BoxItem.php" size="514" author="syao.work" created="Thu, 6 Dec 2012 14:18:14 +0000" />
                    <attachment id="11362" name="Item.php" size="522" author="ocramius" created="Thu, 6 Dec 2012 14:33:41 +0000" />
                    <attachment id="11357" name="Item.php" size="572" author="syao.work" created="Thu, 6 Dec 2012 08:45:05 +0000" />
                    <attachment id="11358" name="testing_box.sql" size="1580" author="syao.work" created="Thu, 6 Dec 2012 08:45:05 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>