<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Tue May 21 20:04:06 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+resolution+%3D+Unresolved+AND+component+%3D+Attributes+ORDER+BY+priority+DESC&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+resolution+%3D+Unresolved+AND+component+%3D+Attributes+ORDER+BY+priority+DESC</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="10" total="10"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DC-1050] Doctrine_Relation_ForeignKey ignores ATTR_COLL_KEY attribute</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-1050</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;Doctrine_Relation_ForeignKey::fetchRelatedFor() executes the following code at line 70:&lt;/p&gt;

&lt;p&gt;$coll = $this-&amp;gt;getTable()&lt;del&gt;&amp;gt;getConnection()&lt;/del&gt;&amp;gt;query($dql, $id);&lt;br/&gt;
$related = $coll&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;;&lt;/p&gt;

&lt;p&gt;As you can see it accesses the first element by using index &quot;0&quot; in $coll and hence ignores a modified ATTR_COLL_KEY-setting, for instance:&lt;/p&gt;

&lt;p&gt;$this-&amp;gt;setAttribute(Doctrine_Core::ATTR_COLL_KEY, &apos;id&apos;);&lt;/p&gt;

&lt;p&gt;Fortunately I had two models (ForeignA and ForeignB) in my project which both have an one-to-one relation to a third model (Main). That helped me finding this bug which causes the following strange behavior:&lt;/p&gt;

&lt;p&gt;// program 1:&lt;/p&gt;

&lt;p&gt;$m = new Main();&lt;br/&gt;
$m-&amp;gt;name = &apos;M1&apos;;&lt;br/&gt;
$m-&amp;gt;setForeignA(new ForeignA()); // has ATTR_COLL_KEY changed to &apos;id&apos;&lt;br/&gt;
$m-&amp;gt;setForeignB(new ForeignB());&lt;br/&gt;
$m-&amp;gt;save();&lt;/p&gt;

&lt;p&gt;// program 2:&lt;/p&gt;

&lt;p&gt;$m = Doctrine_Core::getTable(&apos;M1&apos;)-&amp;gt;findOneBy(&apos;name&apos;, &apos;M1&apos;);&lt;br/&gt;
$m-&amp;gt;getForeignA()-&amp;gt;exists(); // false&lt;br/&gt;
$m-&amp;gt;getForeignB()-&amp;gt;exists(); // true&lt;/p&gt;

&lt;p&gt;-------------------------&lt;/p&gt;

&lt;p&gt;The big problem about this issue is that behavior is inconsistent. If you don&apos;t split the example above into two separate programs/processes you won&apos;t have problems, since Doctrine accesses the reference which was stored when calling save().&lt;/p&gt;

&lt;p&gt;You will get into trouble using functional tests in Symfony. Since there is only a single process for all requests I wasn&apos;t able to reproduce a problem caused by this bug which appeared in the production environment.&lt;/p&gt;

&lt;p&gt;-------------------------&lt;/p&gt;

&lt;p&gt;Edit:&lt;/p&gt;

&lt;p&gt;Doctrine_Connection::queryOne() is affected as well!&lt;/p&gt;

&lt;p&gt;A solution is to replace&lt;/p&gt;

&lt;p&gt;$coll = $this-&amp;gt;getTable()&lt;del&gt;&amp;gt;getConnection()&lt;/del&gt;&amp;gt;query($dql, $id);&lt;br/&gt;
$related = $coll&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;;&lt;/p&gt;

&lt;p&gt;by&lt;/p&gt;

&lt;p&gt;$related = $this-&amp;gt;getTable()&lt;del&gt;&amp;gt;getConnection()&lt;/del&gt;&amp;gt;query($dql, $id)-&amp;gt;getFirst();&lt;/p&gt;</description>
                <environment>Windows 7 64Bit&lt;br/&gt;
PHP 5.3&lt;br/&gt;
Symfony 1.4</environment>
            <key id="13506">DC-1050</key>
            <summary>Doctrine_Relation_ForeignKey ignores ATTR_COLL_KEY attribute</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="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="fishbone">Uli Hecht</reporter>
                        <labels>
                    </labels>
                <created>Tue, 6 Mar 2012 22:55:02 +0000</created>
                <updated>Wed, 7 Mar 2012 13:02:40 +0000</updated>
                                    <version>1.2.3</version>
                                <fixVersion>1.2.4</fixVersion>
                                <component>Attributes</component>
                <component>Relations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="17534" author="fishbone" created="Wed, 7 Mar 2012 13:02:40 +0000"  >&lt;p&gt;Suggested patch&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11167" name="ForeignKey.php.patch" size="642" author="fishbone" created="Wed, 7 Mar 2012 13:02:40 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-903] Make Doctrine_Record_UnknownPropertyException error more descriptive</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-903</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;If I have a Doctrine object and I try something like $book-&amp;gt;getNonexistantThing(), I always get an error like this:&lt;br/&gt;
PHP Fatal error:  Class &apos;Doctrine_Record_UnknownPropertyException&apos; not found in /home/jason/projects/mcif/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Record/Filter/Standard.php on line 55&lt;/p&gt;

&lt;p&gt;It makes it hard to track down the source of the error. Why not have the error include the offending method call?&lt;/p&gt;</description>
                <environment>Ubuntu 10.10</environment>
            <key id="12040">DC-903</key>
            <summary>Make Doctrine_Record_UnknownPropertyException error more descriptive</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="jasonswett">Jason Swett</reporter>
                        <labels>
                    </labels>
                <created>Thu, 28 Oct 2010 14:46:49 +0000</created>
                <updated>Thu, 28 Oct 2010 14:46:49 +0000</updated>
                                                                    <component>Attributes</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-949] (patch)allow Native floats and double precision field types for MySQL, Oracle, Pgsql</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-949</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;This creates a new attribute constant Doctrine_Core::ATTR_USE_NATIVE_FLOAT and Doctrine_Core::ATTR_USE_NATIVE_DOUBLE.  This will allow the setting of attributes of use_native_float = true and use_native_double = true.  With these set to true in MySQL  of the generated sql will no longer Make FLOAT(18,2) and will make it just FLOAT that is a true floating point the same thing with DOUBLE except it is now a true double precision floating point. &lt;/p&gt;

&lt;p&gt;Proper adjustments are also made to MySQL, Oracle and Postgresql to use native floating point declarations to define both single and double precision floating point data types. &lt;/p&gt;

&lt;p&gt;I have attached a patch to fix the floating point field types. &lt;/p&gt;</description>
                <environment>Os Independent, MySQL, Oracle, Postgresql</environment>
            <key id="12214">DC-949</key>
            <summary>(patch)allow Native floats and double precision field types for MySQL, Oracle, Pgsql</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="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="mblackmer">Max Blackmer</reporter>
                        <labels>
                    </labels>
                <created>Thu, 9 Dec 2010 18:11:08 +0000</created>
                <updated>Thu, 9 Dec 2010 18:53:19 +0000</updated>
                                    <version>1.2.3</version>
                                                <component>Attributes</component>
                        <due></due>
                    <votes>1</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="14940" author="mblackmer" created="Thu, 9 Dec 2010 18:34:58 +0000"  >&lt;p&gt;Quote from MySQL Manual &quot;For maximum portability, code requiring storage of approximate numeric data values should use FLOAT or DOUBLE PRECISION with no specification of precision or number of digits&quot;  &lt;a href=&quot;http://dev.mysql.com/doc/refman/5.0/en/numeric-types.html&quot; class=&quot;external-link&quot;&gt;http://dev.mysql.com/doc/refman/5.0/en/numeric-types.html&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10890" name="doctrine-1.2-native-float.patch" size="4643" author="mblackmer" created="Thu, 9 Dec 2010 18:11:08 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-383] Migrations not respecting ATTR_TBLNAME_FORMAT</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-383</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;I am using Doctrine 1.2.1 and Migrations don&apos;t appear to respect Doctrine::ATTR_TBLNAME_FORMAT when creating or dropping tables.  This means while models create/drop tables with prefixes migrations don&apos;t.  Also the migration_version table is created without the prefix too even though it was apparently fixed in &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DC-245&quot; title=&quot;Table name prefix for table migration_version&quot;&gt;&lt;del&gt;DC-245&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I haven&apos;t tested but it also probably means other attributes like Doctrine::ATTR_IDXNAME_FORMAT and Doctrine::ATTR_SEQNAME_FORMAT are not obeyed either which makes things a little confusing knowing when to care for prefixes or not.&lt;/p&gt;</description>
                <environment>Debian 5, Apache 2, PHP 5.2.9, MySQL 5.1</environment>
            <key id="10658">DC-383</key>
            <summary>Migrations not respecting ATTR_TBLNAME_FORMAT</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="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="drak">Karma Dordrak (Drak)</reporter>
                        <labels>
                    </labels>
                <created>Wed, 23 Dec 2009 13:25:38 +0000</created>
                <updated>Fri, 28 May 2010 06:13:28 +0000</updated>
                                    <version>1.2.1</version>
                                                <component>Attributes</component>
                <component>Migrations</component>
                        <due></due>
                    <votes>1</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="13075" author="eman" created="Fri, 28 May 2010 06:13:28 +0000"  >&lt;p&gt;Simple patch to set the table name inside constructor&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10615" name="migration_table_prefix_doctrine_1.2.patch" size="424" author="eman" created="Fri, 28 May 2010 06:13:28 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-388] Conservative loading not working</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-388</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;Apparently, when setting  Doctrine::MODEL_LOADING_CONSERVATIVE things like Doctrine_Core::createTablesFromModels() don&apos;t work.  Have to enable aggressive model loading.  This has been confirmed on the doctrine-user mailing list.&lt;/p&gt;

&lt;p&gt;I took a brief look at the code: I may be missing something but it appears there may be a logic difference in the conservative vs. aggressive model loading method.  Aggressive loading uses require_once on all files in the model directory and tries to determine the name of the class inside the file (by doing a difference on the loaded classes).  This logic makes sense since the class and file name do not have to match.&lt;/p&gt;

&lt;p&gt;However, conservative loading just tries to calculate the class name and store it in an array for later loading by the autoloader.  This means there is a huge logic difference in behaviour between these two loading methods since the model class files actually must differ depending on case (specifically, the model class file name must follow a specific format to match the actual class name) otherwise the autoload array will never know the correct name of the class.&lt;/p&gt;

&lt;p&gt;I would also like to comment that overall, require_once is a poor choice for performance reasons, it&apos;s vastly slower than include_once, but overall the logic should better be adjusted to use plain include (if possible), for performance reasons.&lt;/p&gt;</description>
                <environment>Apache 2, MySQL 5.1, PHP 5.2.9, Debian 5</environment>
            <key id="10663">DC-388</key>
            <summary>Conservative loading not working</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="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="drak">Karma Dordrak (Drak)</reporter>
                        <labels>
                    </labels>
                <created>Sat, 26 Dec 2009 03:00:22 +0000</created>
                <updated>Wed, 27 Jan 2010 23:53:07 +0000</updated>
                                    <version>1.2.1</version>
                                                <component>Attributes</component>
                        <due></due>
                    <votes>1</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-834] When altering an existing column PGSQL can&apos;t convert to SERIAL for autoincrement</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-834</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;If you have an existing column Postgresql won&apos;t allow you to use the type SERIAL for altering the column.&lt;/p&gt;

&lt;p&gt;First create a column cat_id on category of integer type. Then run the following migration:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;migration.php&lt;/b&gt;&lt;/div&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 up()
    {
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;changeColumn(&apos;category&apos;, &apos;cat_id&apos;, &apos;integer&apos;, &apos;4&apos;, array(
             &apos;unsigned&apos; =&amp;gt; &apos;&apos;,
             &apos;primary&apos; =&amp;gt; &apos;1&apos;,
             &apos;autoincrement&apos; =&amp;gt; &apos;1&apos;,
             ));
    }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;b&gt;Instead of using type SERIAL doctrine would have to simply alter the column then add a sequence on it&apos;s own.&lt;/b&gt;&lt;/p&gt;</description>
                <environment>PostgreSQL 8.4</environment>
            <key id="11796">DC-834</key>
            <summary>When altering an existing column PGSQL can&apos;t convert to SERIAL for autoincrement</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="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="webpragmatist">webPragmatist</reporter>
                        <labels>
                    </labels>
                <created>Wed, 18 Aug 2010 12:36:45 +0000</created>
                <updated>Wed, 18 Aug 2010 12:36:45 +0000</updated>
                                    <version>1.2.2</version>
                                                <component>Attributes</component>
                <component>Migrations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-852] CLONE -Fix returned type value : SQL integers to PHP integers when getting a value from the database.</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-852</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;Hi Jon,&lt;/p&gt;

&lt;p&gt;I have a request for you to improve Doctrine. When declaring a column as an integer, it seems that Doctrine returns a string when getting the value of that column. For example, if I have a &quot;status&quot; column, which can take 0, 1 or 2 as its value, Doctrine will return these values as string, which is not really logical and returning the good PHP type is the goal of an ORM. I&apos;m fond of the triple equal symbol to test a value and I did not understand why this did not work at start :&lt;/p&gt;

&lt;p&gt;// in my myModel class&lt;br/&gt;
class myModel extends Doctrine_Record&lt;br/&gt;
{&lt;br/&gt;
  const STATUS_VALIDATED = 1;&lt;/p&gt;

&lt;p&gt;  public function isValidated()&lt;/p&gt;
  {
    return self::STATUS_VALIDATED === $this-&amp;gt;getStatus();
  }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;That&apos;s why getStatus() gives me a string instead of an integer, whereas the column is declared as an integer in my schema. I&apos;m forced to cast myself the returned value of getStatus() in my model.&lt;/p&gt;</description>
                <environment></environment>
            <key id="11863">DC-852</key>
            <summary>CLONE -Fix returned type value : SQL integers to PHP integers when getting a value from the database.</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="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="enrico">Enrico Stahn</reporter>
                        <labels>
                    </labels>
                <created>Wed, 1 Sep 2010 08:19:12 +0000</created>
                <updated>Thu, 2 Sep 2010 08:11:23 +0000</updated>
                                    <version>1.2.3</version>
                                <fixVersion>1.2.4</fixVersion>
                                <component>Attributes</component>
                <component>Data Fixtures</component>
                <component>Native SQL</component>
                <component>Query</component>
                <component>Record</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14214" author="enrico" created="Wed, 1 Sep 2010 11:38:05 +0000"  >&lt;p&gt;Proposal for a solution: &lt;a href=&quot;http://github.com/estahn/doctrine1/compare/master...DC-852&quot; class=&quot;external-link&quot;&gt;http://github.com/estahn/doctrine1/compare/master...DC-852&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="14225" author="jwage" created="Wed, 1 Sep 2010 14:46:04 +0000"  >&lt;p&gt;So if you enable this attribute you live with the fact that casting a string to an integer that is longer than php max integer will give weird results?&lt;/p&gt;</comment>
                    <comment id="14235" author="enrico" created="Thu, 2 Sep 2010 08:11:23 +0000"  >&lt;p&gt;i&apos;m far from happy with this solution. if an integer that is greater than php max int gets casted it will be casted into a value of type double. if you enable that attribute only values that could successfully casted into an integer will be casted otherwise an exception will be thrown.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-1006] Custom geometric query error with orderBy</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-1006</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;Mi Doctrine_Query with this Geometric Query fails with orderBy , but with where works.&lt;/p&gt;

&lt;p&gt;$distance = &quot;glength(linestringfromwkb(linestring(GeomFromText(&apos;POINT( &quot;.$object-&amp;gt;getLatitude().&quot; &quot;.$object-&amp;gt;getLongitude() .&quot;)&apos;),l.point))) &quot;&lt;/p&gt;

&lt;p&gt;This works:&lt;br/&gt;
SomeObjectTable::getInstance()&lt;del&gt;&amp;gt;createQuery()&lt;/del&gt;&amp;gt;where($distance.&apos; &amp;lt; ?&apos;,0.05 )&lt;/p&gt;

&lt;p&gt;But this one fails at version 1.2.4, with older version was working.&lt;br/&gt;
SomeObjectTable::getInstance()&lt;del&gt;&amp;gt;createQuery()&lt;/del&gt;&amp;gt;where($distance.&apos; &amp;lt; ?&apos;,0.05 )-&amp;gt;orderBy($distance)&lt;/p&gt;

&lt;p&gt;Well the problem is at line 74 of OrderBy.php :&lt;br/&gt;
$componentAlias = implode(&apos;.&apos;, $e);&lt;/p&gt;



&lt;p&gt;the rendered query in the distance has some &quot;.&quot;, for example:&lt;br/&gt;
POINT( -34.470829 -58.5286102)&lt;/p&gt;

&lt;p&gt;then the after line 74 in OrderBy tries to search por &apos;58&apos; class.&lt;/p&gt;

&lt;p&gt;I manually added to DataDict in Mysql.php the POINT datatype (this fix solve me the problem in older versions of Doctrine).&lt;/p&gt;
</description>
                <environment>Symfony 1.4.11 and Doctrine 1.2.4. Ubuntu 11.04 Apache2 with mod php5. php5 version PHP 5.3.5-1ubuntu7.2 with Suhosin-Patch </environment>
            <key id="12659">DC-1006</key>
            <summary>Custom geometric query error with orderBy</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="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="llazzaro">Leonardo Lazzaro</reporter>
                        <labels>
                    </labels>
                <created>Sun, 22 May 2011 19:41:17 +0000</created>
                <updated>Sun, 22 May 2011 19:41:17 +0000</updated>
                                    <version>1.2.4</version>
                                <fixVersion>1.2.2</fixVersion>
                                <component>Attributes</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-418] Inherited models creating NOT NULL restrictions on their parents</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-418</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;to reproduce, create the yaml included in sample.yaml (Note the not-null columns in each subclass)&lt;/p&gt;

&lt;p&gt;if you try to save an OnlineProduct without setting copyright_year, or if you create a print_product without setting website_branding_id, then you will get a not null error.&lt;br/&gt;
Inherited tables should be able to set their own NOT NULL columns without affecting other tables in the inheritance tree (should be handled in the preSave() method? or is there another mechanism?)&lt;/p&gt;</description>
                <environment>Linux skywalker-9 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009 x86_64 GNU/Linux&lt;br/&gt;
</environment>
            <key id="10713">DC-418</key>
            <summary>Inherited models creating NOT NULL restrictions on their parents</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="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="jlukescott">luke scott</reporter>
                        <labels>
                    </labels>
                <created>Mon, 11 Jan 2010 18:17:58 +0000</created>
                <updated>Mon, 11 Jan 2010 18:19:57 +0000</updated>
                                    <version>1.2.1</version>
                                                <component>Attributes</component>
                <component>Inheritance</component>
                <component>Record</component>
                <component>Schema Files</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="11365" author="jlukescott" created="Mon, 11 Jan 2010 18:19:57 +0000"  >&lt;p&gt;YAML format was destroyed during copy &amp;amp; paste!&lt;br/&gt;
I&apos;m attaching the sample yaml, instead of including it in the description&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10279" name="sample.yaml" size="911" author="jlukescott" created="Mon, 11 Jan 2010 18:19:57 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-710] doctrine:build-model does not create phpdoc for doctrine builtin attributes (sluggable, timestampable, id)</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-710</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;When defining a table with actAs attributes (Timestampable, Sluggable, ...) doctrine creates columns in the database and corresponding attributes in the model classes, but the PHPDOC in the model classes does not include getters and setters for these &quot;automatic&quot; attributes.&lt;br/&gt;
 This is unconvenient when using an IDE as the getter are not present in the auto completion.&lt;/p&gt;

&lt;p&gt; The enhancement would be to add the appropriate phpdoc @property tags so that symfony can generate all the @method tags.&lt;/p&gt;

&lt;p&gt;see &lt;a href=&quot;http://trac.symfony-project.org/ticket/8711&quot; class=&quot;external-link&quot;&gt;http://trac.symfony-project.org/ticket/8711&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thank you&lt;/p&gt;

&lt;p&gt;Kevin Hatry&lt;/p&gt;</description>
                <environment></environment>
            <key id="11426">DC-710</key>
            <summary>doctrine:build-model does not create phpdoc for doctrine builtin attributes (sluggable, timestampable, id)</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="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="kevinhatry">Kevin Hatry</reporter>
                        <labels>
                    </labels>
                <created>Sat, 29 May 2010 14:58:11 +0000</created>
                <updated>Tue, 8 Jun 2010 09:51:21 +0000</updated>
                                    <version>1.2.0</version>
                                                <component>Attributes</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="13143" author="jwage" created="Tue, 8 Jun 2010 09:51:21 +0000"  >&lt;p&gt;I don&apos;t think this is a problem that can be patched easily, unfortunately.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>