<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Sun May 26 01:32:17 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/DBAL-157/DBAL-157.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>[DBAL-157] Exception given when updating schema</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-157</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;Been experimenting with Symfony2 past days, and somehow managed to generate an Exception in the MySqlSchemaManager Classes of Doctrine.&lt;/p&gt;

&lt;p&gt;I&apos;ve build my schema once, the next time i run the command i&apos;m receiving following error:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;ErrorException&amp;#93;&lt;/span&gt;                                                                                                                              &lt;br/&gt;
  Notice: Undefined index: default in /Users/chris/Sites/Symfony/vendor/doctrine-dbal/lib/Doctrine/DBAL/Schema/MySqlSchemaManager.php line 157&lt;/p&gt;


&lt;p&gt;i can&apos;t figure out an error in my classes.&lt;/p&gt;

&lt;p&gt;When i drop the database table, i can re-run the command again without exception.. even though another run it will throw it up again.&lt;/p&gt;

&lt;p&gt;I&apos;ve checked the code in line #157, and adpted it slightls:&lt;/p&gt;

&lt;p&gt;prev:&lt;/p&gt;

&lt;p&gt;            &apos;default&apos;       =&amp;gt; $tableColumn&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;default&amp;#39;&amp;#93;&lt;/span&gt;,&lt;/p&gt;

&lt;p&gt;modified:&lt;br/&gt;
           &apos;default&apos;       =&amp;gt; (isset($tableColumn&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;default&amp;#39;&amp;#93;&lt;/span&gt;)) ? $tableColumn&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;default&amp;#39;&amp;#93;&lt;/span&gt; : null,&lt;/p&gt;



&lt;p&gt;Can anyone confirm this issue?&lt;/p&gt;

&lt;p&gt;Greetings,&lt;br/&gt;
Chris&lt;/p&gt;</description>
                <environment>Mac OSX 10.6.7&lt;br/&gt;
PHP  5.3.4</environment>
            <key id="12961">DBAL-157</key>
            <summary>Exception given when updating schema</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="weyandch">Chris</reporter>
                        <labels>
                    </labels>
                <created>Mon, 22 Aug 2011 21:30:04 +0000</created>
                <updated>Fri, 18 Nov 2011 19:52:07 +0000</updated>
                    <resolved>Fri, 18 Nov 2011 19:52:07 +0000</resolved>
                                            <fixVersion>2.1.5</fixVersion>
                                <component>Schema Managers</component>
                        <due></due>
                    <votes>1</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16506" author="symfonyfan" created="Sun, 25 Sep 2011 13:23:33 +0000"  >&lt;p&gt;Hi, I&apos;m also seeing this exact issue using Sf2 and Doctrine.  You can&apos;t use the console to force update the schema, you have to completely drop all of the tables to get the command to work again.  Also using Mac locally.&lt;/p&gt;</comment>
                    <comment id="16880" author="beberlei" created="Fri, 18 Nov 2011 19:49:41 +0000"  >&lt;p&gt;Interesting that some MySQL versions dont seem to have the default field then in information_schema?&lt;/p&gt;</comment>
                    <comment id="16881" author="beberlei" created="Fri, 18 Nov 2011 19:52:07 +0000"  >&lt;p&gt;Fixed, will be in 2.1.4&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>