<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Thu May 23 10:26:05 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-627/DDC-627.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-627] Unexpected Duplicate Field Mapping Exception</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-627</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Trying to generate entities with annotation mappings using the CLI orm:convert-mapping command will throw an exception.&lt;/p&gt;

&lt;p&gt;&amp;#8211; Schema to reproduce &lt;br/&gt;
CREATE DATABASE IF NOT EXISTS `doctrine_issue`;&lt;br/&gt;
USE `doctrine_issue`;&lt;br/&gt;
CREATE TABLE `activity` (&lt;br/&gt;
  `idact` int(10) unsigned NOT NULL AUTO_INCREMENT,&lt;br/&gt;
  PRIMARY KEY (`idact`)&lt;br/&gt;
) ENGINE=InnoDB DEFAULT CHARSET=utf8;&lt;br/&gt;
CREATE TABLE `activity_log` (&lt;br/&gt;
  `idacl` int(10) unsigned NOT NULL AUTO_INCREMENT,&lt;br/&gt;
  `idact` int(10) unsigned NOT NULL,&lt;br/&gt;
  PRIMARY KEY (`idacl`),&lt;br/&gt;
  CONSTRAINT `fk_activity_data_activity` FOREIGN KEY (`idact`) REFERENCES `activity` (`idact`)&lt;br/&gt;
) ENGINE=InnoDB DEFAULT CHARSET=utf8;&lt;/p&gt;

&lt;p&gt;// configure a simple doctrine.php file to connect and run the following CLI command:&lt;br/&gt;
C:\&amp;gt;php doctrine.php orm:convert-mapping --from-database annotation .\Entities&lt;/p&gt;

&lt;p&gt;Will throw an MappingException::duplicateFieldMapping on ActivityLog::idact, at line 1064 of class Doctrine\ORM\Mapping\ClassMetadataInfo&lt;/p&gt;</description>
                <environment>mysql  Ver 14.14 Distrib 5.1.43, for Win32 (ia32)&lt;br/&gt;
&lt;br/&gt;
PHP 5.3.1 (cli) (built: Feb  8 2010 22:11:49) &lt;br/&gt;
Copyright (c) 1997-2009 The PHP Group&lt;br/&gt;
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- with Zend Debugger v5.3, Copyright (c) 1999-2010, by Zend Technologies [loaded] [licensed] [enabled]</environment>
            <key id="11456">DDC-627</key>
            <summary>Unexpected Duplicate Field Mapping Exception</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="alexbrina">Alexandre Brina</reporter>
                        <labels>
                    </labels>
                <created>Mon, 7 Jun 2010 12:07:58 +0000</created>
                <updated>Thu, 2 Jun 2011 19:55:08 +0000</updated>
                    <resolved>Sun, 13 Jun 2010 14:13:19 +0000</resolved>
                                            <fixVersion>2.0-BETA3</fixVersion>
                                <component>Mapping Drivers</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="13300" author="beberlei" created="Sun, 13 Jun 2010 14:13:19 +0000"  >&lt;p&gt;Fixed and scheduled for BETA 3&lt;/p&gt;</comment>
                    <comment id="15899" author="cosmo" created="Thu, 2 Jun 2011 19:55:08 +0000"  >&lt;p&gt;Hi, I&apos;ve got this exact issue in 2.1.0BETA1. Any idea how to work around it?&lt;/p&gt;</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Reference</name>
                                                <inwardlinks description="is referenced by">
                            <issuelink>
            <issuekey id="11425">DDC-616</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>