<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Sat May 25 06:05:36 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+DBAL+AND+fixVersion+%3D+%222.1.5%22+ORDER+BY+updated+DESC%2C+priority+DESC%2C+created+ASC&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+DBAL+AND+fixVersion+%3D+%222.1.5%22+ORDER+BY+updated+DESC%2C+priority+DESC%2C+created+ASC</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="7" total="7"/>
                <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>

<item>
            <title>[DBAL-171] PARAM_INT_ARRAY / PARAM_STR_ARRAY depends of parameter order</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-171</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;Named parameters appears to be treated as ordered parameters, when using PARAM_INT_ARRAY or PARAM_STR_ARRAY:&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;$query = $em-&amp;gt;createQuery(&apos;
SELECT f FROM Foo f
WHERE a = :a
AND b IN (:b)
&apos;);

$query-&amp;gt;setParameters(array(
    &apos;b&apos; =&amp;gt; array(1,2,3),
    &apos;a&apos; =&amp;gt; 1,
));
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Notice that in the query the parameter :a appears before :b. And I call -&amp;gt;setParameters() with :b before :a.&lt;/p&gt;

&lt;p&gt;When running this, I get an error from &lt;a href=&quot;https://github.com/doctrine/dbal/blob/2a44c94b9b15de446ecdff3ee8581c5d56f6ed3e/lib/Doctrine/DBAL/SQLParserUtils.php#L119&quot; class=&quot;external-link&quot;&gt;Doctrine/DBAL/SQLParserUtils::expandListParameters:119&lt;/a&gt; saying that the second parameter of array_merge() is not an array.&lt;/p&gt;

&lt;p&gt;When setting the parameters in the same order than they appear in the query, it works:&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;$query-&amp;gt;setParameters(array(
    &apos;a&apos; =&amp;gt; 1,
    &apos;b&apos; =&amp;gt; array(1,2,3),
));
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is unexpected, as I&apos;m using named parameters; the order should not matter.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13013">DBAL-171</key>
            <summary>PARAM_INT_ARRAY / PARAM_STR_ARRAY depends of parameter order</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="arnaud-lb">arnaud-lb</reporter>
                        <labels>
                    </labels>
                <created>Sun, 11 Sep 2011 13:27:34 +0000</created>
                <updated>Fri, 18 Nov 2011 16:45:43 +0000</updated>
                    <resolved>Fri, 18 Nov 2011 16:45:43 +0000</resolved>
                            <version>2.1.1</version>
                                <fixVersion>2.1.5</fixVersion>
                                        <due></due>
                    <votes>1</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="16534" author="pschwisow" created="Tue, 27 Sep 2011 22:06:07 +0000"  >&lt;p&gt;I&apos;m getting this issue too.&lt;/p&gt;

&lt;p&gt;Doctrine\ORM\Query::_doExecute() does a ksort on $sqlParams, but does not sort $types.  Doctrine\DBAL\SQLParserUtils::expandListParameters() assumes that $params and $types are in the same order.&lt;/p&gt;

&lt;p&gt;As a workaround, I added ksort($types) in _doExecute(), but I&apos;m not sure if this is the proper way to handle this.&lt;/p&gt;</comment>
                    <comment id="16867" author="beberlei" created="Fri, 18 Nov 2011 16:45:43 +0000"  >&lt;p&gt;Fixed&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-144] Oracle tables without indices are not handled during convert - this behavior should be tolerant since Oracle does not require indicies.</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-144</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;While it is good practice to always have at least one index defined on every table, in some cases (such as temporary tables) indices are not necessary. Oracle does not enforce creating indices for every table, and it is common to create some tables without them.  The Table.php (line 556) method throws an exception if an index is not found for a given table.  It&apos;s obvious there are ramifications for findByPK( ) auto-generated methods - these should be generated for every case where PK exists to accommodate Oracle and tolerate variances from accepted best-practices with most other database platforms.&lt;/p&gt;</description>
                <environment>CentOS 5.0, PHP 5.3.6, Oracle 11g EE, Symfony 2.0 Doctrine 2.1</environment>
            <key id="12895">DBAL-144</key>
            <summary>Oracle tables without indices are not handled during convert - this behavior should be tolerant since Oracle does not require indicies.</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>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="digitalmechanic">Ed Anderson</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Aug 2011 13:33:22 +0000</created>
                <updated>Mon, 14 Nov 2011 22:44:07 +0000</updated>
                    <resolved>Mon, 14 Nov 2011 22:44:07 +0000</resolved>
                            <version>2.1</version>
                                <fixVersion>2.1.5</fixVersion>
                                <component>Platforms</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="16735" author="beberlei" created="Sun, 30 Oct 2011 19:24:40 +0000"  >&lt;p&gt;When does this error happen?&lt;/p&gt;

&lt;p&gt;This method is called through Table::getPrimaryKey(). Does this happen during the &quot;doctrine:schema*&quot; toolchain?&lt;/p&gt;</comment>
                    <comment id="16738" author="digitalmechanic" created="Sun, 30 Oct 2011 23:46:48 +0000"  >&lt;p&gt;This happens in the doctrine:schema toolchain. &lt;/p&gt;</comment>
                    <comment id="16830" author="beberlei" created="Mon, 14 Nov 2011 22:44:07 +0000"  >&lt;p&gt;Fixed.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-181] [Oracle] RAW Type</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-181</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;Missing type &lt;b&gt;raw&lt;/b&gt; from &lt;tt&gt;OraclePlatform::initializeDoctrineTypeMappings&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;The Symfony2 task &lt;em&gt;doctrine:schema:update&lt;/em&gt; throws &lt;em&gt;Unknown database type raw requested, Doctrine\DBAL\Platforms\OraclePlatform may not support it.&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;The attached patch seems to fix it, but I don&apos;t know if something more to be done.&lt;/p&gt;</description>
                <environment>Linux 64bits 2.6.35-30, Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 64bits</environment>
            <key id="13185">DBAL-181</key>
            <summary>[Oracle] RAW Type</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="joksnet">Juan M</reporter>
                        <labels>
                    </labels>
                <created>Mon, 14 Nov 2011 10:26:27 +0000</created>
                <updated>Mon, 14 Nov 2011 20:24:01 +0000</updated>
                    <resolved>Mon, 14 Nov 2011 19:34:24 +0000</resolved>
                            <version>2.1.3</version>
                                <fixVersion>2.1.5</fixVersion>
                                <component>Platforms</component>
                <component>Schema Managers</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="16820" author="beberlei" created="Mon, 14 Nov 2011 10:55:14 +0000"  >&lt;p&gt;Is raw really a text? Is it similar to VARBINARY or something?&lt;/p&gt;</comment>
                    <comment id="16824" author="beberlei" created="Mon, 14 Nov 2011 19:34:24 +0000"  >&lt;p&gt;Fixed.&lt;/p&gt;</comment>
                    <comment id="16825" author="joksnet" created="Mon, 14 Nov 2011 20:24:01 +0000"  >&lt;p&gt;Thank you Benjamin. Sorry I didn&apos;t answer before.&lt;/p&gt;

&lt;p&gt;I don&apos;t use RAW type in my tables, but Oracle creates tables when you do an export/import that contains this type. This tables starts with &quot;SYS_&quot; and must be ignored. I&apos;m not an expert, but maybe change the list tables method to another that doesn&apos;t return the system tables.&lt;/p&gt;

&lt;p&gt;Either way, this works perfect. Thanks again.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11110" name="raw.patch" size="580" author="joksnet" created="Mon, 14 Nov 2011 10:26:28 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-168] orm:schema-tool:update will fail if if public scheme has a domains table (PostgreSQL)</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-168</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;If I create a table &apos;domains&apos; in the default scheme and execute the update procedure of the schema tool, it will throw a PDOException (SQLSTATE&lt;span class=&quot;error&quot;&gt;&amp;#91;21000&amp;#93;&lt;/span&gt;: Cardinality violation: 7 ERROR:  more than one row returned by a subquery used as an expression)&lt;/p&gt;

&lt;p&gt;I&apos;ve traced the error to the following statement, which is created by Doctrine\DBAL\Platforms\PostgreSqlPlatform-&amp;gt;getListTableForeignKeysSQL():&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;SELECT r.conname, pg_catalog.pg_get_constraintdef(r.oid, &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;) as condef
                  FROM pg_catalog.pg_constraint r
                  WHERE r.conrelid =
                  (
                      SELECT c.oid
                      FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n
                      WHERE c.relname = &apos;domains&apos;
                        AND n.oid = c.relnamespace
                  )
                  AND r.contype = &apos;f&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;p&gt;This returns two oids because there are two relations with the name domains. One is my table and the other is a view in the information_scheme scheme.&lt;/p&gt;

&lt;p&gt;The same problem should occur with the other information_scheme relations.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13033">DBAL-168</key>
            <summary>orm:schema-tool:update will fail if if public scheme has a domains table (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="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="bountin">Martin Prebio</reporter>
                        <labels>
                    </labels>
                <created>Thu, 22 Sep 2011 11:24:25 +0000</created>
                <updated>Mon, 14 Nov 2011 19:12:41 +0000</updated>
                    <resolved>Mon, 14 Nov 2011 19:12:41 +0000</resolved>
                            <version>2.0.5</version>
                                <fixVersion>2.1.5</fixVersion>
                                <component>Platforms</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16731" author="beberlei" created="Sun, 30 Oct 2011 19:07:16 +0000"  >&lt;p&gt;Hm the domains entry doesnt seems to pop up for me in pgadmin when executing your query. Can you help me a bit with details on how to reproduce this?&lt;/p&gt;</comment>
                    <comment id="16741" author="bountin" created="Mon, 31 Oct 2011 13:16:03 +0000"  >&lt;p&gt;montbook:~ postgres$ createdb -E UTF8 -T template0 -l de_AT.UTF-8 foo&lt;br/&gt;
montbook:~ postgres$ psql foo&lt;br/&gt;
foo=# create table domains (id int8 not null);&lt;/p&gt;

&lt;p&gt;Now I have a table domains in the default schema and a domains table in the information_schema schema which is created and maintained by postgres. Now executing the query above will produce the mentioned exception.&lt;/p&gt;

&lt;p&gt;It was necessary to create a table in the fresh database to create the information_schema. It is a meta schema from where you can select information of the database and it is afaik a sql standard (also mysql has it but as a seperate database).&lt;/p&gt;

&lt;p&gt;pgAdmin may hide this schema (and the pg_catalog): &lt;a href=&quot;http://www.mail-archive.com/pgadmin-support@postgresql.org/msg09332.html&quot; class=&quot;external-link&quot;&gt;http://www.mail-archive.com/pgadmin-support@postgresql.org/msg09332.html&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="16823" author="beberlei" created="Mon, 14 Nov 2011 19:12:41 +0000"  >&lt;p&gt;Fixed and merged into 2.1.x&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-158] Sqlite Platform doesn&apos;t set a proper mapping for &quot;double precision&quot; to act as float.</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-158</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;I have a column in an entity, defined as &quot;float&quot; type.&lt;br/&gt;
When I run my phpunit tests (which are defined to use sqlite, whereas my production and development environment uses mysql), I get the following exception:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;Doctrine\DBAL\DBALException: Unknown database type double precision requested, Doctrine\DBAL\Platforms\SqlitePlatform may not support it
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Looking at AbstractPlatform.php, line 1972, function &quot;getFloatDeclarationSQL&quot; returns &apos;DOUBLE PRECISION&apos;.&lt;br/&gt;
Where other platforms have in their &quot;initializeDoctrineTypeMappings&quot; method a mapping such as:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;&apos;double precision&apos; =&amp;gt; &apos;float&apos;,
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;, SqlitePlatform.php doesn&apos;t have such a mapping. &lt;/p&gt;</description>
                <environment>Ubuntu Linux 11.04&lt;br/&gt;
PHP 5.3.5</environment>
            <key id="12966">DBAL-158</key>
            <summary>Sqlite Platform doesn&apos;t set a proper mapping for &quot;double precision&quot; to act as float.</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>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="gshockoman">Doron Gutman</reporter>
                        <labels>
                    </labels>
                <created>Wed, 24 Aug 2011 14:03:04 +0000</created>
                <updated>Sun, 30 Oct 2011 18:54:26 +0000</updated>
                    <resolved>Sun, 30 Oct 2011 18:54:26 +0000</resolved>
                            <version>2.1</version>
                                <fixVersion>2.1.5</fixVersion>
                                <component>Platforms</component>
                        <due></due>
                    <votes>1</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="16573" author="ratius" created="Tue, 11 Oct 2011 04:54:26 +0000"  >&lt;p&gt;I have encountered the same issue while using sqlite. I have made a simple fix in the platform class, as seen in the patch I provided which hopefully fixes the issue.&lt;/p&gt;</comment>
                    <comment id="16730" author="beberlei" created="Sun, 30 Oct 2011 18:54:26 +0000"  >&lt;p&gt;Was fixed&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11070" name="0001-Fix-for-DBAL-158-where-double-precision-was-not-work.patch" size="3401" author="ratius" created="Tue, 11 Oct 2011 04:54:49 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-172] QueryBuilder joins are omitted if the table alias is not present in the &quot;from&quot; clause</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-172</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;When using the QueryBuilder, joins that refer to table aliases from other joins get omitted. Only those joins that refer to table aliases from the &quot;from&quot; clause get included. &lt;/p&gt;

&lt;p&gt;See &lt;a href=&quot;http://stackoverflow.com/questions/7331117/doctrines-dbal-query-builder-omitts-some-joins&quot; class=&quot;external-link&quot;&gt;http://stackoverflow.com/questions/7331117/doctrines-dbal-query-builder-omitts-some-joins&lt;/a&gt;&lt;/p&gt;</description>
                <environment>MySQL</environment>
            <key id="13044">DBAL-172</key>
            <summary>QueryBuilder joins are omitted if the table alias is not present in the &quot;from&quot; clause</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="anush">Anush Ramani</reporter>
                        <labels>
                    </labels>
                <created>Mon, 26 Sep 2011 18:06:40 +0000</created>
                <updated>Sun, 30 Oct 2011 18:54:07 +0000</updated>
                    <resolved>Sun, 30 Oct 2011 18:54:07 +0000</resolved>
                            <version>2.1</version>
                                <fixVersion>2.1.5</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16530" author="anush" created="Tue, 27 Sep 2011 05:10:38 +0000"  >&lt;p&gt;Just realized that there is a way to solve the issue with omitted joins. Essentially, we&apos;d always need to use one of the &lt;tt&gt;FROM&lt;/tt&gt; table aliases as the &lt;tt&gt;$fromAlias&lt;/tt&gt; for the &lt;tt&gt;join()&lt;/tt&gt; methods. While this works quite well, it seems un-intuitive. &lt;/p&gt;

&lt;p&gt;If this is expected behavior, I can close the ticket, but again, seems a bit un-intuitive.&lt;/p&gt;</comment>
                    <comment id="16729" author="beberlei" created="Sun, 30 Oct 2011 18:54:07 +0000"  >&lt;p&gt;fixed.&lt;/p&gt;

&lt;p&gt;An exception is now thrown when this occurs with details on how to fix it.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>