<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Tue May 21 18:33:54 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/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+DC+AND+fixVersion+%3D+%221.2.0-BETA2%22&tempMax=1000&field=key&field=summary
-->
<!-- If you wish to do custom client-side styling of RSS, uncomment this:
<?xml-stylesheet href="http://www.doctrine-project.org/jira/styles/jiraxml2html.xsl" type="text/xsl"?>
-->
<rss version="0.92">
    <channel>
        <title>Doctrine Project</title>
        <link>http://www.doctrine-project.org/jira/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=project+%3D+DC+AND+fixVersion+%3D+%221.2.0-BETA2%22</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="14" total="14"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DC-207] Masked exception makes it very difficult to debug</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-207</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;When you try to save an object, but the database does not exist, Doctrine throws a Doctrine_Transaction_Exception exception with the message &quot;Rollback failed. There is no active transaction.&quot;.&lt;/p&gt;

&lt;p&gt;But the real problem is that the database does not exit. The problem is in the Doctrine_Connection_UnitOfWork class around line 146:&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;        } &lt;span class=&quot;code-keyword&quot;&gt;catch&lt;/span&gt; (Exception $e) {
            &lt;span class=&quot;code-comment&quot;&gt;// Make sure we roll back our internal transaction
&lt;/span&gt;            &lt;span class=&quot;code-comment&quot;&gt;//$record-&amp;gt;state($state);
&lt;/span&gt;            $conn-&amp;gt;rollback();
            &lt;span class=&quot;code-keyword&quot;&gt;throw&lt;/span&gt; $e;
        }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The exception occurs because of &quot;$conn-&amp;gt;rollback();&quot;, and so the &quot;throw $e;&quot; is never reached.&lt;/p&gt;

&lt;p&gt;We should probably throws an exception earlier about the fact that the database does not exist.&lt;/p&gt;</description>
                <environment></environment>
            <key id="10379">DC-207</key>
            <summary>Masked exception makes it very difficult to debug</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="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="fabpot">Fabien Potencier</reporter>
                        <labels>
                    </labels>
                <created>Tue, 10 Nov 2009 14:23:12 +0000</created>
                <updated>Tue, 10 Nov 2009 16:34:31 +0000</updated>
                    <resolved>Tue, 10 Nov 2009 16:34:31 +0000</resolved>
                            <version>1.2.0-ALPHA1</version>
                <version>1.2.0-ALPHA2</version>
                <version>1.2.0-ALPHA3</version>
                <version>1.2.0-BETA1</version>
                                <fixVersion>1.2.0-BETA2</fixVersion>
                                <component>Connection</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-205] Problem with serial fields on PostgreSQL</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-205</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;When a new record is inserted into a table with an autoincrement primary key, the function Doctrine_Connection_UnitOfWork::processSingleInsert is called with the record to insert as parameter.&lt;/p&gt;

&lt;p&gt;In Doctrine 1.1.x (&lt;a href=&quot;http://trac.doctrine-project.org/browser/branches/1.1/lib/Doctrine/Connection/UnitOfWork.php#L590&quot; class=&quot;external-link&quot;&gt;http://trac.doctrine-project.org/browser/branches/1.1/lib/Doctrine/Connection/UnitOfWork.php#L590&lt;/a&gt;) this method was the responsible for getting the new ID value from the sequence, and with this value, it MODIFIED THE ARRAY OF FIELD VALUES to be inserted into the table.&lt;/p&gt;

&lt;p&gt;Now this is done at a protected method named _assignSequence (&lt;a href=&quot;http://trac.doctrine-project.org/browser/branches/1.2/lib/Doctrine/Connection/UnitOfWork.php#L629&quot; class=&quot;external-link&quot;&gt;http://trac.doctrine-project.org/browser/branches/1.2/lib/Doctrine/Connection/UnitOfWork.php#L629&lt;/a&gt;) which assigns the identifier to the record, but DOES NOT MODIFY THE ARRAY OF VALUES to be send to the database for the insert so when my db receive a null value for the ID column, generate a new one from the sequence.&lt;/p&gt;

&lt;p&gt;The result is that the record gets an identifier which is different from the one that it really has on the database.&lt;/p&gt;


&lt;p&gt;An example: on a db with a table &apos;foo&apos; with two columns, &apos;id&apos; and &apos;name&apos;, and a sequence called &apos;foo_id_seq&apos; with a value of 6, when I try to insert a record with a named &apos;bar&apos;, the function $this-&amp;gt;conn-&amp;gt;insert($table, $fields); at &lt;a href=&quot;http://trac.doctrine-project.org/browser/branches/1.1/lib/Doctrine/Connection/UnitOfWork.php#L595&quot; class=&quot;external-link&quot;&gt;http://trac.doctrine-project.org/browser/branches/1.1/lib/Doctrine/Connection/UnitOfWork.php#L595&lt;/a&gt; receive as parameters &apos;foo&apos; and array(&apos;id&apos; =&amp;gt;7, &apos;name&apos; =&amp;gt;&apos;bar&apos;)&lt;/p&gt;

&lt;p&gt;In Doctrine 1.2 the function at &lt;a href=&quot;http://trac.doctrine-project.org/browser/branches/1.2/lib/Doctrine/Connection/UnitOfWork.php#L630&quot; class=&quot;external-link&quot;&gt;http://trac.doctrine-project.org/browser/branches/1.2/lib/Doctrine/Connection/UnitOfWork.php#L630&lt;/a&gt; recevie as parameters &apos;foo&apos; and array(&apos;name&apos; =&amp;gt;&apos;bar&apos;)&lt;/p&gt;

&lt;p&gt;(Sorry for my poor English)&lt;/p&gt;</description>
                <environment>PHP 5.2.3&lt;br/&gt;
PostgreSQL 8.1</environment>
            <key id="10376">DC-205</key>
            <summary>Problem with serial fields on PostgreSQL</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/critical.png">Critical</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="ajgarlag">Antonio J. Garcia Lagar</reporter>
                        <labels>
                    </labels>
                <created>Tue, 10 Nov 2009 10:30:17 +0000</created>
                <updated>Tue, 10 Nov 2009 16:18:03 +0000</updated>
                    <resolved>Tue, 10 Nov 2009 16:18:03 +0000</resolved>
                            <version>1.2.0-BETA1</version>
                                <fixVersion>1.2.0-BETA2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="10561" author="ajgarlag" created="Tue, 10 Nov 2009 10:54:19 +0000"  >&lt;p&gt;This error is a consecuence of the changeset 6635 (&lt;a href=&quot;http://trac.doctrine-project.org/changeset/6635/branches/1.2/lib/Doctrine/Connection/UnitOfWork.php&quot; class=&quot;external-link&quot;&gt;http://trac.doctrine-project.org/changeset/6635/branches/1.2/lib/Doctrine/Connection/UnitOfWork.php&lt;/a&gt;)&lt;/p&gt;</comment>
                    <comment id="10565" author="jwage" created="Tue, 10 Nov 2009 16:18:03 +0000"  >&lt;p&gt;Thanks for the ticket. I committed a fix that will be in BETA2. Could you test and confirm that it fixes the issue?&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-204] [patch] Cloning or copying a query object keeps a reference to the previous hydrator</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-204</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;Upon cloning or copying a query object, the hydrator property still points to the original query. Changing it in the child object changes it for the parent object.&lt;/p&gt;

&lt;p&gt;thanks to gnat42 for the patch&lt;/p&gt;</description>
                <environment></environment>
            <key id="10375">DC-204</key>
            <summary>[patch] Cloning or copying a query object keeps a reference to the previous hydrator</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="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="aarjona">Ariel Arjona</reporter>
                        <labels>
                    </labels>
                <created>Mon, 9 Nov 2009 21:04:33 +0000</created>
                <updated>Tue, 10 Nov 2009 16:56:43 +0000</updated>
                    <resolved>Tue, 10 Nov 2009 16:56:43 +0000</resolved>
                            <version>1.2.0-BETA1</version>
                                <fixVersion>1.2.0-BETA2</fixVersion>
                                <component>Query</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                    <attachment id="10150" name="query_clone.patch" size="747" author="aarjona" created="Mon, 9 Nov 2009 21:04:33 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-201] [PATCH] Level is oracle keyword (reopened #479)</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-201</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;I created this ticket in connection to the &lt;a href=&quot;http://trac.doctrine-project.org/ticket/479&quot; class=&quot;external-link&quot;&gt;http://trac.doctrine-project.org/ticket/479&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The resolution was that it&apos;s fixed in &lt;a href=&quot;http://trac.doctrine-project.org/changeset/3183/&quot; class=&quot;external-link&quot;&gt;http://trac.doctrine-project.org/changeset/3183/&lt;/a&gt; - but it seems that it is fixed only in the changelog.&lt;/p&gt;

&lt;p&gt;The LEVEL is an oracle keyword and the only way to use the NestedSet with Oracle is enabled quote identifiers. &lt;br/&gt;
We used this for about a year or more, but it is not so comfortable and this is the only reason why we are quoting identifiers.&lt;/p&gt;

&lt;p&gt;But we started to use Oracle&apos;s spatial features and I was surprised that some oracle spatial functions are not able to work on quoted objects, and I started to use synonyms and extra columns with triggers as workaround. But it is so annoying and the patch is so simple &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/smile.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;
</description>
                <environment></environment>
            <key id="10367">DC-201</key>
            <summary>[PATCH] Level is oracle keyword (reopened #479)</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="adrive">Miloslav &quot;adrive&quot; Kmet</reporter>
                        <labels>
                    </labels>
                <created>Sun, 8 Nov 2009 22:42:38 +0000</created>
                <updated>Tue, 10 Nov 2009 17:01:46 +0000</updated>
                    <resolved>Tue, 10 Nov 2009 17:01:46 +0000</resolved>
                            <version>1.2.0-BETA1</version>
                                <fixVersion>1.2.0-BETA2</fixVersion>
                                <component>Nested Set</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="10566" author="jwage" created="Tue, 10 Nov 2009 17:01:46 +0000"  >&lt;p&gt;Thanks for the ticket and patch.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10148" name="Level.patch" size="630" author="adrive" created="Sun, 8 Nov 2009 22:42:38 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-197] [patch] default model orderBy option breaks data-load task</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-197</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;currently the default orderBy clause one can specify for models gets added to all queries, including DELETE and UPDATE.&lt;br/&gt;
This breaks data-load because it includes in the orderBy the table alias but currently only SELECT queries support aliases.&lt;/p&gt;

&lt;p&gt;For example if I have the following schema:&lt;/p&gt;

&lt;p&gt;Mytable:&lt;br/&gt;
  options: &lt;/p&gt;
{ orderBy: name ASC }
&lt;p&gt;  columns:&lt;br/&gt;
    name: &lt;/p&gt;
{ type: string(100), notnull: true }

&lt;p&gt;The data-load task does a Doctrine::getTable(&apos;Mytable&apos;)&lt;del&gt;&amp;gt;delete()&lt;/del&gt;&amp;gt;execute(); to clear the table before loading the fixtures which results in the following SQL:&lt;br/&gt;
DELETE FROM mytable ORDER BY m.name ASC&lt;/p&gt;

&lt;p&gt;which errors out as the m alias was not defined.&lt;/p&gt;

&lt;p&gt;Attached is the patch that makes only SELECT queries get the default orderBy clause from the option.&lt;/p&gt;</description>
                <environment></environment>
            <key id="10357">DC-197</key>
            <summary>[patch] default model orderBy option breaks data-load task</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="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="aarjona">Ariel Arjona</reporter>
                        <labels>
                    </labels>
                <created>Fri, 6 Nov 2009 17:22:45 +0000</created>
                <updated>Tue, 10 Nov 2009 17:52:42 +0000</updated>
                    <resolved>Tue, 10 Nov 2009 17:52:42 +0000</resolved>
                            <version>1.2.0-BETA1</version>
                                <fixVersion>1.2.0-BETA2</fixVersion>
                                <component>Query</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                    <attachment id="10146" name="doctrine12_orderby_select.patch" size="2926" author="aarjona" created="Fri, 6 Nov 2009 17:22:45 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-192] Doctrine_Import_Builder Missing Relation Alias When Using classPrefix</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-192</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;Doctrine_Import_Builder, line 383&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;$alias = (isset($relation&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;alias&amp;#39;&amp;#93;&lt;/span&gt;) &amp;amp;&amp;amp; $relation&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;alias&amp;#39;&amp;#93;&lt;/span&gt; !== $relation&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;class&amp;#39;&amp;#93;&lt;/span&gt;) ? &apos; as &apos; . $relation&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;alias&amp;#39;&amp;#93;&lt;/span&gt; : &apos;&apos;;&lt;/p&gt;&lt;/blockquote&gt; 

&lt;p&gt;For example, if both class name and alias is &quot;User&quot; and we make use of classPrefix (i.e &quot;Model_&quot;), the generated class name will actually be &quot;Model_User&quot;. The comparison of:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;$relation&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;alias&amp;#39;&amp;#93;&lt;/span&gt; !== $relation&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;class&amp;#39;&amp;#93;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt; 

&lt;p&gt;does not cover the prefix, which lead to the missing of alias when generating models, i.e&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;$this-&amp;gt;hasOne(&apos;Model_User&apos;, ...&lt;/p&gt;&lt;/blockquote&gt; 

&lt;p&gt;instead of&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;$this-&amp;gt;hasOne(&apos;Model_User as User&apos;, ...&lt;/p&gt;&lt;/blockquote&gt; 

&lt;p&gt;Suggested fix:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;$alias = (isset($relation&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;alias&amp;#39;&amp;#93;&lt;/span&gt;) &amp;amp;&amp;amp; $relation&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;alias&amp;#39;&amp;#93;&lt;/span&gt; !== $this-&amp;gt;_classPrefix . $relation&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;class&amp;#39;&amp;#93;&lt;/span&gt;) ? &apos; as &apos; . $relation&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;alias&amp;#39;&amp;#93;&lt;/span&gt; : &apos;&apos;;&lt;/p&gt;&lt;/blockquote&gt; </description>
                <environment>PHP 5.2.x, Windows (All)</environment>
            <key id="10347">DC-192</key>
            <summary>Doctrine_Import_Builder Missing Relation Alias When Using classPrefix</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="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="nktpro">Jacky Nguyen</reporter>
                        <labels>
                    </labels>
                <created>Thu, 5 Nov 2009 20:44:30 +0000</created>
                <updated>Tue, 10 Nov 2009 17:58:08 +0000</updated>
                    <resolved>Tue, 10 Nov 2009 17:58:08 +0000</resolved>
                            <version>1.2.0-BETA1</version>
                                <fixVersion>1.2.0-BETA2</fixVersion>
                                <component>Import/Export</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-191] Doctrine_Migration-&gt;loadMigrationClassesFromDirectory fail when launched 2 times</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-191</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;When I need to create a Doctrine_Migration twice during a same php processus, the migrations version numbers get wrong.&lt;/p&gt;

&lt;p&gt;In Doctrine_Migration-&amp;gt;loadMigrationClassesFromDirectory method, I see :&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;        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (isset(self::$_migrationClassesForDirectories[$directory])) {
            $migrationClasses = (array) self::$_migrationClassesForDirectories[$directory];
            $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_migrationClasses = array_merge($migrationClasses, $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_migrationClasses);
        }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The problem is that array_merge loose the array keys. In the $this-&amp;gt;_migrationClasses context, array keys are very important because they are the version numbers.&lt;/p&gt;

&lt;p&gt;So when if (isset(self::$_migrationClassesForDirectories&lt;span class=&quot;error&quot;&gt;&amp;#91;$directory&amp;#93;&lt;/span&gt;)) is true ( ie the second time we use the Doctrine_Migration classs ) all the migrations versions get wrong.&lt;/p&gt;

&lt;p&gt;I hope my description is clear enough.&lt;/p&gt;</description>
                <environment>daily symfony 1.3 svn</environment>
            <key id="10346">DC-191</key>
            <summary>Doctrine_Migration-&gt;loadMigrationClassesFromDirectory fail when launched 2 times</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="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="ornicar">thibault duplessis</reporter>
                        <labels>
                    </labels>
                <created>Thu, 5 Nov 2009 15:14:58 +0000</created>
                <updated>Tue, 10 Nov 2009 17:19:08 +0000</updated>
                    <resolved>Tue, 10 Nov 2009 17:19:08 +0000</resolved>
                            <version>1.2.0-ALPHA2</version>
                                <fixVersion>1.2.0-BETA2</fixVersion>
                                <component>Migrations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="10567" author="jwage" created="Tue, 10 Nov 2009 17:19:08 +0000"  >&lt;p&gt;After looking at it, that code didn&apos;t make sense and it could never work, you are right. I removed it. Now if you call that function twice it will reset everything and reload the classes from the configured directories.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-190] Fatal error while connecting after an reset of the Doctrine_Manager</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-190</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;Doctrine_Manager::connection(&apos;sqlite::memory:&apos;);&lt;br/&gt;
Doctrine_Manager::resetInstance();&lt;br/&gt;
Doctrine_Manager::connection(&apos;sqlite::memory:&apos;);&lt;br/&gt;
Fatal error: Call to a member function onOpen() on a non-object in ...../Doctrine/Connection.php on line 221&lt;/p&gt;

&lt;p&gt;which is $this-&amp;gt;getAttribute(Doctrine_Core::ATTR_LISTENER)-&amp;gt;onOpen($this);&lt;/p&gt;

&lt;p&gt;The Doctrine_Core::ATTR_LISTENER attribute is not set in the connection nore in the manager... This is because Doctrine_Manager::resetInstance does remove all attributes but Doctrine_Manager::setDefaultAttributes does not allow to set the default attributes twice. &lt;/p&gt;

&lt;p&gt;This method can only run once, because it use a local static $init variable and since Doctrine_Manager is a Singleton the init value should stored within the instance.&lt;/p&gt;

&lt;p&gt;What happens :&lt;br/&gt;
1. In Doctrine_Manager::setDefaultAttributes() the Doctrine_Core::ATTR_LISTENER is set to new Doctrine_EventListener().&lt;br/&gt;
2. A connection get its attributes from the manager when not available in the connection.&lt;br/&gt;
3. When Doctrine_Manager::reset() is called the attributes are gone and should be set again...&lt;br/&gt;
4. However because the Doctrine_Manager::setDefaultAttibutes method only can run once (a check is set in a static local boolean) the listener is not recreated and thus subsequent connections will fatally fail&lt;/p&gt;


&lt;p&gt;patch by&lt;br/&gt;
A fix is simple and I have it running locally...&lt;/p&gt;

&lt;p&gt;1. add an private $_inited or $_defaultAttributesSet property to Doctrine_Manager, defaults to false;&lt;br/&gt;
2. on Doctrine_Manager::reset reset it to its default (false)&lt;br/&gt;
3. on Doctrine_Manager::setDefaultAttibutes do nothing when the property equals true, but when the property is false proceed with setting the default attributes...&lt;/p&gt;
</description>
                <environment>osx10.6.1, php5.3.0</environment>
            <key id="10342">DC-190</key>
            <summary>Fatal error while connecting after an reset of the Doctrine_Manager</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="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="bas">Bas K</reporter>
                        <labels>
                    </labels>
                <created>Wed, 4 Nov 2009 23:12:41 +0000</created>
                <updated>Tue, 10 Nov 2009 17:29:49 +0000</updated>
                    <resolved>Tue, 10 Nov 2009 17:29:49 +0000</resolved>
                            <version>1.2.0-ALPHA3</version>
                <version>1.2.0-BETA1</version>
                                <fixVersion>1.2.0-BETA2</fixVersion>
                                <component>Attributes</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-186] Patch to correct CLI tests</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-186</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;Enclosed is a little patch to correct my CLI tests.&lt;/p&gt;

&lt;p&gt;The patch wraps test runs on the CLI in an output buffer to prevent output to the console when the unit tests are run.  This output from the CLI could be mistaken for errors, but it&apos;s expected and only &lt;em&gt;looks&lt;/em&gt; unfriendly - no errors / exceptions are thrown.&lt;/p&gt;</description>
                <environment>PHP 5.3, Darwin, Macbook</environment>
            <key id="10337">DC-186</key>
            <summary>Patch to correct CLI tests</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="danbettles">Dan Bettles</reporter>
                        <labels>
                    </labels>
                <created>Wed, 4 Nov 2009 18:43:11 +0000</created>
                <updated>Wed, 4 Nov 2009 20:20:26 +0000</updated>
                    <resolved>Wed, 4 Nov 2009 20:20:26 +0000</resolved>
                            <version>1.2.0-BETA1</version>
                                <fixVersion>1.2.0-BETA2</fixVersion>
                                <component>Cli</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                    <attachment id="10139" name="Cli_testcase_corrections.diff" size="2233" author="danbettles" created="Wed, 4 Nov 2009 18:43:11 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-184] Doctrine_Connection_Statement-&gt;execute() gerenates a PHP warning with Doctrine 1.2 BETA1</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-184</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&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;&lt;span class=&quot;code-comment&quot;&gt;// &lt;span class=&quot;code-keyword&quot;&gt;switch&lt;/span&gt; between 1.2 ALPHA3 and 1.2 BETA1
&lt;/span&gt;&lt;span class=&quot;code-comment&quot;&gt;//require_once(&apos;../CMS/Doctrine-1.2.0-ALPHA3-Sandbox/lib/Doctrine.php&apos;);
&lt;/span&gt;require_once(&apos;../CMS/Doctrine-1.2.0-BETA1-Sandbox/lib/Doctrine.php&apos;);

spl_autoload_register(array(&apos;Doctrine&apos;, &apos;autoload&apos;));
$manager = Doctrine_Manager::getInstance();
$conn = Doctrine_Manager::connection(&apos;mysql:&lt;span class=&quot;code-comment&quot;&gt;//user:password@localhost/test&apos;);
&lt;/span&gt;
&lt;span class=&quot;code-comment&quot;&gt;// table creation (done with Doctrine 1.2 ALPHA3)
&lt;/span&gt;&lt;span class=&quot;code-comment&quot;&gt;//$conn-&amp;gt;export-&amp;gt;createTable(&apos;test&apos;, array(&apos;name&apos; =&amp;gt; array(&apos;type&apos; =&amp;gt; &apos;string&apos;)));
&lt;/span&gt;&lt;span class=&quot;code-comment&quot;&gt;//$conn-&amp;gt;execute(&apos;INSERT INTO test (name) VALUES (?)&apos;, array(&apos;vince&apos;));
&lt;/span&gt;
&lt;span class=&quot;code-comment&quot;&gt;// retreive data from table
&lt;/span&gt;$stmt = $conn-&amp;gt;prepare(&apos;SELECT * FROM test&apos;);
$stmt-&amp;gt;execute();
$results = $stmt-&amp;gt;fetchAll();
var_dump($results);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;In the code above, $stmt-&amp;gt;execute(); generates a warning (but the data is retreived from the table) under 1.2 BETA1 (no problem with 1.2 ALPHA3) :&lt;/p&gt;

&lt;p&gt;Warning: Invalid argument supplied for foreach() in F:\Vince\devweb\CMS\Doctrine-1.2.0-BETA1-Sandbox\lib\Doctrine\Connection\Statement.php on line 245&lt;br/&gt;
Line 245 is part of a block of code added in lib/Connection/Statement.php (execute function) in 1.2 BETA1 :&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;$pos = 0;
 foreach ($params as $key =&amp;gt; $value) {
    $pos++;
    $param = is_numeric($key) ?  $pos : $key;
    &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (is_resource($value)) {
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_stmt-&amp;gt;bindParam($param, $params[$key], Doctrine_Core::PARAM_LOB);
    } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_stmt-&amp;gt;bindParam($param, $params[$key]);
    }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The call stack from xdebug shows the function : Doctrine_Connection_Statement-&amp;gt;execute()&lt;/p&gt;

&lt;p&gt;I see the warning because of my php.ini settings : error_reporting = E_ALL&lt;br/&gt;
I mention this issue because sometimes a warnig may result in a more important error later in the code.&lt;/p&gt;</description>
                <environment>Windows XP pro SP2&lt;br/&gt;
Apache Version 	Apache/2.2.10 (Win32) PHP/5.2.6&lt;br/&gt;
&lt;br/&gt;
php -v&lt;br/&gt;
PHP 5.2.6 (cli) (built May 2 2008 18:02:07)&lt;br/&gt;
Zend Engine v2.2.0&lt;br/&gt;
Xdebug v2.0.3&lt;br/&gt;
&lt;br/&gt;
mysql -V&lt;br/&gt;
mysql Ver 14.12 Distrib 5.0.67, for Win32 (ia32)&lt;br/&gt;
&lt;br/&gt;
Doctrine.php 6489 2009-10-12 20:21:01Z</environment>
            <key id="10335">DC-184</key>
            <summary>Doctrine_Connection_Statement-&gt;execute() gerenates a PHP warning with Doctrine 1.2 BETA1</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="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="zvince">Vincent Delhommeau</reporter>
                        <labels>
                    </labels>
                <created>Wed, 4 Nov 2009 18:12:35 +0000</created>
                <updated>Wed, 4 Nov 2009 19:42:22 +0000</updated>
                    <resolved>Wed, 4 Nov 2009 19:42:22 +0000</resolved>
                            <version>1.2.0-BETA1</version>
                                <fixVersion>1.2.0-BETA2</fixVersion>
                                <component>Connection</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-180] [PATCH] Unique index name for column aggregation key column</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-180</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;When using column aggregation colum with the same name on multiple models, and exporting schema to database, I have a collisions with names in Oracle (I think others are affected too).&lt;/p&gt;

&lt;p&gt;{{&lt;br/&gt;
CREATE INDEX &quot;type&quot; ON &quot;nt_organism_property&quot; (&quot;type&quot;)&lt;br/&gt;
CREATE INDEX &quot;type&quot; ON &quot;nt_property&quot; (&quot;type&quot;)&lt;br/&gt;
CREATE INDEX &quot;type&quot; ON &quot;st_node&quot; (&quot;type&quot;)&lt;br/&gt;
}}&lt;/p&gt;

&lt;p&gt;I propose to prefix the index name with the table name&lt;/p&gt;</description>
                <environment></environment>
            <key id="10326">DC-180</key>
            <summary>[PATCH] Unique index name for column aggregation key column</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="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="adrive">Miloslav &quot;adrive&quot; Kmet</reporter>
                        <labels>
                    </labels>
                <created>Wed, 4 Nov 2009 10:11:48 +0000</created>
                <updated>Wed, 4 Nov 2009 19:45:34 +0000</updated>
                    <resolved>Wed, 4 Nov 2009 19:45:34 +0000</resolved>
                            <version>1.2.0-BETA1</version>
                                <fixVersion>1.2.0-BETA2</fixVersion>
                                <component>Record</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                    <attachment id="10138" name="RecordAbstract.php.patch" size="625" author="adrive" created="Wed, 4 Nov 2009 10:11:48 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-179] Wrong length estimation in Doctrine_Validator-&gt;validateLength() if locale sets decimal point other than &quot;dot&quot;</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-179</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;Test case:&lt;br/&gt;
1) set locale: setlocale(LC_ALL, &quot;&quot;) (on windows it sets current international control panel settings), in case of Polish locale  it changes decimal point to &apos;,&apos; (comma) &lt;br/&gt;
2) try to save value &quot;12,12&quot; of decimal type field (mysql type): &lt;/p&gt;
{ type: decimal(4), scale: 2 }
&lt;p&gt;,&lt;br/&gt;
3) it gives you validation error (length)&lt;/p&gt;

&lt;p&gt;Summary:&lt;br/&gt;
Doctrine_Validator-&amp;gt;validateLength() could not count length properly. &lt;/p&gt;

&lt;p&gt;Idea:&lt;br/&gt;
I changed dot character in explode function to proper env character:&lt;/p&gt;

&lt;p&gt;            // changes start&lt;br/&gt;
            $localeInfo = localeconv();&lt;br/&gt;
            $e = explode($localeInfo&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;mon_decimal_point&amp;quot;&amp;#93;&lt;/span&gt;, $value);&lt;br/&gt;
            // changes end&lt;/p&gt;

&lt;p&gt;It works for me.&lt;/p&gt;

&lt;p&gt;Enclosed Validator.php&lt;/p&gt;</description>
                <environment>Apache/2.2.11 (Win32) PHP/5.2.11, windows vista</environment>
            <key id="10325">DC-179</key>
            <summary>Wrong length estimation in Doctrine_Validator-&gt;validateLength() if locale sets decimal point other than &quot;dot&quot;</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="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="amichalu">Adam Michalunio</reporter>
                        <labels>
                    </labels>
                <created>Wed, 4 Nov 2009 08:02:15 +0000</created>
                <updated>Wed, 4 Nov 2009 19:50:15 +0000</updated>
                    <resolved>Wed, 4 Nov 2009 19:50:15 +0000</resolved>
                            <version>1.2.0-ALPHA1</version>
                                <fixVersion>1.2.0-BETA2</fixVersion>
                                <component>Validators</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                    <attachment id="10137" name="Validator.php" size="7058" author="amichalu" created="Wed, 4 Nov 2009 08:02:15 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-178] Import Builder doesn&apos;t use default table class name</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-178</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;I use Symfony 1.2.9 with Doctrine 1.2 trunk.&lt;/p&gt;

&lt;p&gt;I also make use of the new Doctrine&apos;s feature to specify custom table class. For that, in the &lt;tt&gt;config/ProjectConfiguration.class.php&lt;/tt&gt; I have the following code:&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;   &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function configureDoctrine(Doctrine_Manager $manager)
   {
      ...
      $manager-&amp;gt;setAttribute(Doctrine::ATTR_TABLE_CLASS, &apos;Platform_DoctrineTable&apos;);
      ...
   }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;And that works fine. But when I comment out this line and re-generate model classes, I get broken table class definitions like:&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;class AccountTable &lt;span class=&quot;code-keyword&quot;&gt;extends&lt;/span&gt; 
{

}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Notice the lack of base class name.&lt;/p&gt;

&lt;p&gt;It seems the problem resides in &lt;tt&gt;Doctrine_Import_Builder&lt;/tt&gt;&apos;s constructor:&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;    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function __construct()
    {
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_baseTableClassName = Doctrine_Manager::getInstance()-&amp;gt;getAttribute(Doctrine_Core::ATTR_TABLE_CLASS);
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;loadTemplate();
    }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So, the default value of &lt;tt&gt;$this-&amp;gt;_baseTableClassName&lt;/tt&gt; always overwrites by &lt;tt&gt;Doctrine_Core::ATTR_TABLE_CLASS&lt;/tt&gt; attribute value.&lt;/p&gt;</description>
                <environment></environment>
            <key id="10324">DC-178</key>
            <summary>Import Builder doesn&apos;t use default table class name</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="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="esycat">Eugene Janusov</reporter>
                        <labels>
                    </labels>
                <created>Wed, 4 Nov 2009 02:23:08 +0000</created>
                <updated>Wed, 4 Nov 2009 19:52:49 +0000</updated>
                    <resolved>Wed, 4 Nov 2009 19:52:49 +0000</resolved>
                            <version>1.2.0-ALPHA1</version>
                <version>1.2.0-ALPHA2</version>
                <version>1.2.0-ALPHA3</version>
                <version>1.2.0-BETA1</version>
                                <fixVersion>1.2.0-BETA2</fixVersion>
                                <component>Import/Export</component>
                <component>Inheritance</component>
                <component>Record</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="10470" author="esycat" created="Wed, 4 Nov 2009 02:25:43 +0000"  >&lt;p&gt;Proposed patch attached.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10136" name="DC-178.patch" size="635" author="esycat" created="Wed, 4 Nov 2009 02:25:43 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-156] missing foreignType: one in code example if &quot;Foreign Key Associations&quot; in chapter &quot;Defining Models&quot;</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-156</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;in the code example for &quot;One-to-one&quot; relation, the &quot;one-to-one&quot; relation is built by extending the BaseUser instead of adding &apos;foreignType&apos; =&amp;gt; &apos;one&apos; to the setUp.&lt;/p&gt;

&lt;p&gt;if done this way, the next Tip and Note have to be rewritten, and the next code example becomes unnecessary.&lt;/p&gt;

&lt;p&gt;an attempt at it is attached.&lt;/p&gt;</description>
                <environment>N/A</environment>
            <key id="10261">DC-156</key>
            <summary>missing foreignType: one in code example if &quot;Foreign Key Associations&quot; in chapter &quot;Defining Models&quot;</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="domcomte">Dominique Comte</reporter>
                        <labels>
                    </labels>
                <created>Thu, 29 Oct 2009 00:22:21 +0000</created>
                <updated>Tue, 10 Nov 2009 17:40:48 +0000</updated>
                    <resolved>Tue, 10 Nov 2009 17:40:48 +0000</resolved>
                                            <fixVersion>1.2.0-BETA2</fixVersion>
                                <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                    <attachment id="10115" name="en_defining-models.patch" size="2587" author="domcomte" created="Thu, 29 Oct 2009 00:22:21 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>