<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Thu May 23 10:19: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-2136/DDC-2136.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-2136] convert-mapping can&apos;t create YML from Annotation when Id column is a OneToOne relationship</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2136</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;I have two entities&lt;/p&gt;

&lt;p&gt;/**&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;@ORM\Entity&lt;br/&gt;
 */&lt;br/&gt;
class User 
{
    /**
     * @ORM\Id
     * @ORM\GeneratedValue(strategy=&quot;AUTO&quot;)
     * @ORM\Column(type=&quot;integer&quot;)
     */
    private $id
}&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;/**&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;@ORM\Entity&lt;br/&gt;
 */&lt;br/&gt;
class UserData 
{
    /**
     * @ORM\Id
     * @ORM\OneToOne(targetEntity=&quot;User&quot;)
     */
    private $id
}&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;When I convert these with symfony&apos;s&lt;/p&gt;

&lt;p&gt;doctrine:mapping:convert yml test/&lt;/p&gt;

&lt;p&gt;it generates an entity definition for UserData without any id fields, which, of course, cannot be imported to the database, as the new entity doesn&apos;t have an identifier column.&lt;/p&gt;</description>
                <environment>Symfony 2.1.3</environment>
            <key id="14212">DDC-2136</key>
            <summary>convert-mapping can&apos;t create YML from Annotation when Id column is a OneToOne relationship</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>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="gergelypolonkai">Gergely Polonkai</reporter>
                        <labels>
                        <label>yaml</label>
                    </labels>
                <created>Sun, 11 Nov 2012 19:42:20 +0000</created>
                <updated>Wed, 1 May 2013 21:10:30 +0000</updated>
                    <resolved>Wed, 1 May 2013 21:10:30 +0000</resolved>
                            <version>2.3</version>
                                <fixVersion>2.4</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="20183" author="beberlei" created="Wed, 1 May 2013 21:10:30 +0000"  >&lt;p&gt;Fixed in 2.4&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>