<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Wed Jun 19 04:56:10 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+Documentation+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+Documentation+ORDER+BY+priority+DESC</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="21" total="21"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DC-371] Lazy loading - doctrine makes extra queries into db</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-371</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;Just downloaded symfony 1.4&lt;/p&gt;

&lt;p&gt;First of all I have a query:&lt;/p&gt;

&lt;p&gt;                $q = \Doctrine_Query::create()&lt;br/&gt;
                    -&amp;gt;select(&apos;u.&lt;b&gt;, ur.&lt;/b&gt;&apos;)&lt;br/&gt;
                    -&amp;gt;from(&apos;UserDb u&apos;)&lt;br/&gt;
                    -&amp;gt;leftJoin(&apos;u.RealUserDetailsDb ur&apos;)&lt;br/&gt;
                    -&amp;gt;leftJoin(&apos;u.MockUserDetailsDb um&apos;)&lt;br/&gt;
                    -&amp;gt;where(&apos;u.id = :user_id&apos;)&lt;br/&gt;
                ;&lt;br/&gt;
                $user = $q-&amp;gt;fetchOne(array(&apos;:user_id&apos; =&amp;gt; $uid));&lt;/p&gt;

&lt;p&gt;After that I&apos;m accessing the fields of this object:&lt;/p&gt;

&lt;p&gt;                $userArray = array(&lt;br/&gt;
                    &apos;id&apos; =&amp;gt; $this-&amp;gt;getUser()-&amp;gt;getId(),&lt;br/&gt;
                    &apos;real_user_details_id&apos; =&amp;gt; $this-&amp;gt;getUser()-&amp;gt;getRealUserDetailsId(),&lt;br/&gt;
                    &apos;mock_user_details_id&apos; =&amp;gt; $this-&amp;gt;getUser()-&amp;gt;getMockUserDetailsId(),&lt;br/&gt;
                    &apos;real_user_details&apos; =&amp;gt; array(),&lt;br/&gt;
                    &apos;mock_user_details&apos; =&amp;gt; array()&lt;br/&gt;
                );&lt;/p&gt;

&lt;p&gt;This is the actual queries into DB:&lt;/p&gt;

&lt;p&gt;NR1:&lt;br/&gt;
SELECT u.id AS u_&lt;em&gt;id, u.user_real_id AS u&lt;/em&gt;&lt;em&gt;user_real_id, u.user_mock_id AS u&lt;/em&gt;&lt;em&gt;user_mock_id, u2.id AS u2&lt;/em&gt;&lt;em&gt;id, u2.nickname AS u2&lt;/em&gt;&lt;em&gt;nickname, u2.email AS u2&lt;/em&gt;_email FROM user u LEFT JOIN user_real u2 ON u.user_real_id = u2.id LEFT JOIN user_mock u3 ON u.user_mock_id = u3.id WHERE (u.id = :user_id)&lt;/p&gt;

&lt;p&gt;NR2:&lt;br/&gt;
SELECT u.id AS u_&lt;em&gt;id, u.user_real_id AS u&lt;/em&gt;&lt;em&gt;user_real_id, u.user_mock_id AS u&lt;/em&gt;_user_mock_id FROM user u WHERE (u.id = &apos;1&apos;) LIMIT 1&lt;/p&gt;

&lt;p&gt;As you can see there are TWO queries however there should be only one query. The problem is that u.user_real_id is NULL in database and when I do  &apos;real_user_details_id&apos; =&amp;gt; $this-&amp;gt;getUser()-&amp;gt;getRealUserDetailsId() doctrine does not have enough intelligence to understand that these fields have been already requested in NR1. If I comment this field, everything works well. &lt;/p&gt;

&lt;p&gt;SURPRISE! &lt;br/&gt;
And now a surprise... if I modify a little bit my first query: &quot;&lt;del&gt;&amp;gt;select(&apos;u.&lt;b&gt;&apos;)&quot; instead of , &quot;&lt;/del&gt;&amp;gt;select(&apos;u.&lt;/b&gt;,  ur.*&apos;)&quot; it WON&apos;T make TWO queries. It will make ONLY ONE!&lt;/p&gt;

&lt;p&gt;As you understand this a very critical bug and of course our system won&apos;t go to production with this bug. &lt;/p&gt;

&lt;p&gt;P.S. Is it possible to turn off the lazy loading in doctrine?&lt;/p&gt;</description>
                <environment>Symfony 1.4, Doctrine Version: 1.2.0-BETA3</environment>
            <key id="10636">DC-371</key>
            <summary>Lazy loading - doctrine makes extra queries into db</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="drapeko">Roman Drapeko</reporter>
                        <labels>
                    </labels>
                <created>Sat, 19 Dec 2009 22:53:48 +0000</created>
                <updated>Thu, 23 Dec 2010 20:22:10 +0000</updated>
                                    <version>1.2.0-BETA3</version>
                                                <component>Behaviors</component>
                <component>Documentation</component>
                <component>Query</component>
                <component>Record</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="11405" author="drapeko" created="Sun, 17 Jan 2010 16:56:01 +0000"  >&lt;p&gt;Any comments? Will it be fixed??&lt;/p&gt;</comment>
                    <comment id="11893" author="jwage" created="Mon, 1 Mar 2010 15:52:49 +0000"  >&lt;p&gt;Hi, I&apos;d like to take a look but can you make a failing test case that I can run so that I can see if I can come up with a patch that fixes your case and doesn&apos;t break anything else.&lt;/p&gt;</comment>
                    <comment id="13087" author="lukis" created="Tue, 1 Jun 2010 13:11:16 +0000"  >&lt;p&gt;Hi&lt;/p&gt;

&lt;p&gt;I had similar problem but after several hours i did work it out&lt;/p&gt;

&lt;p&gt;Try to make get method in your model for getting field which has NULL value in database&lt;/p&gt;

&lt;p&gt;public function getUserRealId() &lt;/p&gt;
{

  return $this-&amp;gt;_get(&quot;user_real_id&quot;, false);

}

&lt;p&gt;by making second argument false u force doctrine not to lazy load value and extra sql query is not created&lt;/p&gt;

&lt;p&gt;regards&lt;/p&gt;</comment>
                    <comment id="13207" author="jwage" created="Tue, 8 Jun 2010 16:31:53 +0000"  >&lt;p&gt;Has anyone been able to reproduce this in a test case? I am not having much luck so far.&lt;/p&gt;</comment>
                    <comment id="15001" author="gena01" created="Thu, 23 Dec 2010 20:22:10 +0000"  >&lt;p&gt;I&apos;ve seen this a ton of times. Basically when it loads related records through the Hydrator using leftJoin() and gets NULLs back. BUT it doesn&apos;t save the fact that the related records are NULL. So when you actually do call to getRelated objects it sees that it doesn&apos;t have the value cached and runs the query again.&lt;/p&gt;

&lt;p&gt;Let me know if I should show you the problem in the Doctrine code base.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-862] INNER JOIN example is same as previous LEFT JOIN example</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-862</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;I was reading the &quot;JOIN syntax&quot; section of the documentation. The docs first talk about how the default join type is LEFT JOIN and an example is presented. Next, INNER JOINS are discussed, but the example is the same left join example used previously. Am I misunderstanding the flow of the document?&lt;/p&gt;</description>
                <environment>&lt;a href=&quot;http://www.doctrine-project.org/projects/orm/1.2/docs/manual/dql-doctrine-query-language/en#join-syntax&quot;&gt;http://www.doctrine-project.org/projects/orm/1.2/docs/manual/dql-doctrine-query-language/en#join-syntax&lt;/a&gt;</environment>
            <key id="11896">DC-862</key>
            <summary>INNER JOIN example is same as previous LEFT JOIN example</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="robertom@sas.upenn.edu">Roberto Mansfield</reporter>
                        <labels>
                    </labels>
                <created>Wed, 8 Sep 2010 15:55:21 +0000</created>
                <updated>Wed, 8 Sep 2010 15:55:21 +0000</updated>
                                                                    <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-958] updating Models with Intra-Table Relations cascades strangely</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-958</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;Sorry for the lengthy explanation, couldn&apos;t make it more straight forward:&lt;/p&gt;

&lt;p&gt;I have a model which is similiar to a nestet set but the tree structure needs to overlap:&lt;/p&gt;

&lt;p&gt;For Model A, every Object A1 can have multiple descendant objects A2 and in turn can be a descendant of multiple objects A0.&lt;/p&gt;

&lt;p&gt;Since I saw no way to do this with Nested-Set Relations (or Equal-Nested-Sets) I have set up my Model like this:&lt;/p&gt;

&lt;p&gt;modules:&lt;br/&gt;
  columns: ..&amp;lt;do not matter&amp;gt;&lt;br/&gt;
  relations:&lt;br/&gt;
    Children:&lt;br/&gt;
      class: modules&lt;br/&gt;
      refClass: modules_required&lt;br/&gt;
    Parents:&lt;br/&gt;
      class: modules&lt;br/&gt;
      refClass: modules_required&lt;/p&gt;

&lt;p&gt;modules_required:&lt;br/&gt;
  columns: &amp;lt;do not matter here, just 2 foreign key columns&amp;gt;&lt;br/&gt;
  relations:&lt;br/&gt;
    Children:&lt;br/&gt;
    Parents:&lt;/p&gt;

&lt;p&gt;I needed to specify the Relations on both tables, to use onDelete/onUpdate CASCADE rules. Generated Models look fine, just as intended.&lt;br/&gt;
(Every Class has many Children and has many Parents...)&lt;/p&gt;

&lt;p&gt;Now the strange part:&lt;br/&gt;
    When I update an object of modules (say id=18), Doctrine issues the following queries:&lt;br/&gt;
DELETE FROM modules_required WHERE (required_id = ? AND module_id IN (?, ?, ?, ?, ?)) - (18, 25, 26, 32, 34, 35) &lt;br/&gt;
// where 25 to 35 are CHILDREN of 18&lt;br/&gt;
UPDATE modules_required SET required_id = ? WHERE module_id = ? AND required_id = ? - (25, 25, 10)&lt;br/&gt;
UPDATE modules_required SET required_id = ? WHERE module_id = ? AND required_id = ? - (26, 26, 10)&lt;br/&gt;
UPDATE modules_required SET required_id = ? WHERE module_id = ? AND required_id = ? - (32, 32, 10)&lt;br/&gt;
UPDATE modules_required SET required_id = ? WHERE module_id = ? AND required_id = ? - (34, 34, 10)&lt;br/&gt;
UPDATE modules_required SET required_id = ? WHERE module_id = ? AND required_id = ? - (35, 35, 10)&lt;br/&gt;
UPDATE modules_required SET required_id = ? WHERE module_id = ? AND required_id = ? - (25, 25, 12)&lt;br/&gt;
//where 10 and 12 are PARENTS of 18&lt;br/&gt;
and somewhen, Doctrine encounters an MySQL ERROR because of the previous update marathon:&lt;br/&gt;
SQLSTATE&lt;span class=&quot;error&quot;&gt;&amp;#91;23000&amp;#93;&lt;/span&gt;: Integrity constraint violation: 1062 Duplicate entry &apos;25-25&apos; for key &apos;PRIMARY&apos; &lt;/p&gt;

&lt;p&gt;The point is: &lt;br/&gt;
1. why is Doctrine trying to create self-referencing relations, and &lt;br/&gt;
2. why is it touching the relation at all, when i only did change some text fields in the object?&lt;/p&gt;

&lt;p&gt;Is there a better way to solve my problem?&lt;/p&gt;</description>
                <environment>PHP 5.3 / symfony 1.4.9</environment>
            <key id="12323">DC-958</key>
            <summary>updating Models with Intra-Table Relations cascades strangely</summary>
                <type id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/subtask_alternate.png">Sub-task</type>
                    <parent id="12278">DC-952</parent>
                        <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="bigbadbassman">Daniel Reiche</reporter>
                        <labels>
                    </labels>
                <created>Mon, 24 Jan 2011 11:42:09 +0000</created>
                <updated>Thu, 27 Jan 2011 04:21:44 +0000</updated>
                                    <version>1.2.3</version>
                                                <component>Behaviors</component>
                <component>Documentation</component>
                <component>Nested Set</component>
                <component>Relations</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="15182" author="bigbadbassman" created="Tue, 25 Jan 2011 04:37:46 +0000"  >&lt;p&gt;forgot to add something: I have done a debug run, to see why these queries are created, when there was no data modified that related to these tables:&lt;/p&gt;

&lt;p&gt;Doctrine seems to handle my structure internally as a Nested-Set, although I have not specified an actAs: NestedSet or relations: equal: true statement in the model definition.&lt;br/&gt;
Is there a way to prevent symfony from misinterpreting this?&lt;/p&gt;

&lt;p&gt;This is not a nested set, as each object can have virtually any other object either as parent or as a child, and additionaly, parent relations can span multiple tree-levels:&lt;br/&gt;
Object 2 is parent of Object 3 and 6&lt;br/&gt;
Object 3 is parent of Object 4 and 5&lt;br/&gt;
Object 4 is parent of Object 6&lt;/p&gt;

&lt;p&gt;results in: Object 6 has parents 2 and 4 (where 4 has parent 3 and 3 has parent 2 in turn)&lt;/p&gt;

&lt;p&gt;This spanning relations seems to cause the guessed nested set to fail.&lt;/p&gt;

&lt;p&gt;I simply wanted to create an m:n Relation using a Reference table and the fact that both m and n are of the same class should not consider doctrine.&lt;/p&gt;</comment>
                    <comment id="15190" author="bigbadbassman" created="Wed, 26 Jan 2011 05:36:25 +0000"  >&lt;p&gt;related to #&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DC-329&quot; title=&quot;Problem saving Self Referencing (Nest Relations)&quot;&gt;DC-329&lt;/a&gt;:&lt;br/&gt;
seems to be the same general problem as described there. Only in DC 1.2.3, doctrine tries to delete every child-relation for some unknown reason.&lt;/p&gt;

&lt;p&gt;also the h2aEqualable mentioned there does not work, because it does not prevent symfony from issueing the delete queries. It prevents only the UPDATE-Queries, and thus circumvents the MySQL-Error.&lt;/p&gt;

&lt;p&gt;Nevertheless, data is still corrupted after object save, thus not useable in production.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-379] No description of ATTR_DEFAULT_IDENTIFIER_OPTIONS now in &quot;Chapter 4 Configuration&quot;</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-379</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;In the previous (1.1) documentation version there were small but useful description about how to set up primary key (&lt;a href=&quot;http://www.doctrine-project.org/documentation/manual/1_1/en/configuration#defaults-attributes:default-added-auto-id&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/documentation/manual/1_1/en/configuration#defaults-attributes:default-added-auto-id&lt;/a&gt;)&lt;br/&gt;
Now there is nothing about ATTR_DEFAULT_IDENTIFIER_OPTIONS and it takes about 20 minutes to debug and find out where did &quot;id&quot; field added&lt;/p&gt;

&lt;p&gt;ps: message &quot;If you find a problem with the documentation or have a suggestion, please register and open a ticket. &quot; in the bottom of the docs pages is ambiguous due to it points to trac :-$&lt;/p&gt;</description>
                <environment></environment>
            <key id="10652">DC-379</key>
            <summary>No description of ATTR_DEFAULT_IDENTIFIER_OPTIONS now in &quot;Chapter 4 Configuration&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="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="zerkms">zerkms</reporter>
                        <labels>
                    </labels>
                <created>Wed, 23 Dec 2009 02:55:04 +0000</created>
                <updated>Wed, 23 Dec 2009 02:55:04 +0000</updated>
                                                                    <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-348] Doctrine manual does not document that columns can be added with simple inheritance, or the semantics of accessing those columns in the parent</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-348</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;The Doctrine manual&apos;s section on inheritance mentions simple inheritance only briefly. The examples do not show that columns can be added, nor do they explain that the parent model class can also access those columns (very useful when you override its methods at the application level in Symfony). &lt;/p&gt;

&lt;p&gt;Both behaviors are supported (Jon suggested I take advantage of them at one point) but it&apos;s easy to miss the fact that they are available. For a long time I assumed column aggregation inheritance was the only way to add columns.&lt;/p&gt;

&lt;p&gt;I&apos;m now exploiting simple inheritance as a way to add columns to sfGuardUser rather than introducing an sfGuardUserProfile class with all of the attendant problems of trying to pretend two tables are actually one table. This is very useful.&lt;/p&gt;

&lt;p&gt;(Out of curiosity, is there an alternative way to add columns to plugin schemas at the app level in Symfony 1.3 similar to the way it&apos;s now done for Propel?)&lt;/p&gt;</description>
                <environment></environment>
            <key id="10596">DC-348</key>
            <summary>Doctrine manual does not document that columns can be added with simple inheritance, or the semantics of accessing those columns in the parent</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="boutell">Tom Boutell</reporter>
                        <labels>
                    </labels>
                <created>Thu, 10 Dec 2009 00:23:00 +0000</created>
                <updated>Thu, 10 Dec 2009 00:23:00 +0000</updated>
                                    <version>1.2.1</version>
                                                <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-339] Documentation unclear about linking inherited objects</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-339</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;The (very nice) doctrine documentation fails to mention anything about how inherited objects handle relations.&lt;/p&gt;

&lt;p&gt;I.e. if I got the model: &lt;br/&gt;
Entity:&lt;br/&gt;
  columns:&lt;br/&gt;
    username: string(20)&lt;br/&gt;
    password: string(16)&lt;br/&gt;
    created_at: timestamp&lt;br/&gt;
    updated_at: timestamp&lt;/p&gt;

&lt;p&gt;User:&lt;br/&gt;
  inheritance:&lt;br/&gt;
    extends: Entity&lt;br/&gt;
    type: column_aggregation&lt;br/&gt;
    keyField: type&lt;br/&gt;
    keyValue: 1&lt;/p&gt;

&lt;p&gt;Group:&lt;br/&gt;
  inheritance:&lt;br/&gt;
    extends: Entity&lt;br/&gt;
    type: column_aggregation&lt;br/&gt;
    keyField: type&lt;br/&gt;
    keyValue: 2&lt;/p&gt;

&lt;p&gt;Topic:&lt;br/&gt;
  content: string&lt;br/&gt;
  entity_id: integer&lt;br/&gt;
  relations:&lt;br/&gt;
    User:&lt;br/&gt;
       class: Entity&lt;br/&gt;
       local: entity_id&lt;br/&gt;
       foreign: id&lt;/p&gt;

&lt;p&gt;Can I then define both users and groups to link to Topic? &lt;/p&gt;


</description>
                <environment></environment>
            <key id="10583">DC-339</key>
            <summary>Documentation unclear about linking inherited objects</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="tarjei">Tarjei Huse</reporter>
                        <labels>
                    </labels>
                <created>Tue, 8 Dec 2009 08:57:45 +0000</created>
                <updated>Tue, 8 Dec 2009 08:57:45 +0000</updated>
                                    <version>1.2.1</version>
                                                <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-631] Documentation </title>
                <link>http://www.doctrine-project.org/jira/browse/DC-631</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/Doctrine_Record/1_2#method_importfrom&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/Doctrine_Record/1_2#method_importfrom&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The description of the $type parameter is : Format type: xml, yml, json&lt;br/&gt;
But it could take an array.&lt;/p&gt;

&lt;p&gt;So the documentation have to be update for this point.&lt;/p&gt;</description>
                <environment></environment>
            <key id="11222">DC-631</key>
            <summary>Documentation </summary>
                <type id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/task.png">Task</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="armetiz">Thomas Tourlourat - Armetiz</reporter>
                        <labels>
                    </labels>
                <created>Thu, 15 Apr 2010 05:18:30 +0000</created>
                <updated>Thu, 15 Apr 2010 05:18:30 +0000</updated>
                                    <version>1.2.2</version>
                                                <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-501] Join and WITH keywords : documentation is confusing</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-501</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;Your documentation makes no sense to me on the usage of the WITH keyword&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/documentation/manual/1_1/en/dql-doctrine-query-language:join-syntax#with-keyword&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/documentation/manual/1_1/en/dql-doctrine-query-language:join-syntax#with-keyword&lt;/a&gt;&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;$q = Doctrine_Query::create()
  -&amp;gt;select(&apos;u.id, p.id&apos;)
  -&amp;gt;from(&apos;User u&apos;)
  -&amp;gt;leftJoin(&apos;u.Phonenumbers p WITH u.id = 2&apos;);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;p&gt;Get Users and the phone numbers if any of the user 2 (we could indeed need that kind of query)&lt;/p&gt;


&lt;p&gt;-----------------------------------------------------------------------------------------------------------------------------------&lt;br/&gt;
I guess this kind of example query is better &lt;/p&gt;

&lt;p&gt;// Documentation&lt;br/&gt;
Get users and their mobile phone numbers if any&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;$q = Doctrine_Query::create()
  -&amp;gt;select(&apos;u.id, p.id&apos;)
  -&amp;gt;from(&apos;User u&apos;)
  -&amp;gt;leftJoin(&apos;u.Phonenumbers p WITH p.type = ?&apos;, &apos;mobile&apos;);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 

&lt;p&gt;you can expect this SQL&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;SELECT 
u.id AS u__id, 
p.id AS p__id 
FROM User u 
LEFT JOIN Phonenumbers p ON u.id = p.user_id AND p.type = &apos;mobile&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 


&lt;p&gt;// Still in the documentation&lt;br/&gt;
Be aware that this query is different of&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;$q = Doctrine_Query::create()
  -&amp;gt;select(&apos;u.id, p.id&apos;)
  -&amp;gt;from(&apos;User u&apos;)
  -&amp;gt;leftJoin(&apos;u.Phonenumbers p&apos;)
  -&amp;gt;where(&apos;p.type = ?&apos;, &apos;mobile&apos;)
;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 

&lt;p&gt;because you will strip away the users who do not have a mobile phone number&lt;/p&gt;

&lt;p&gt;-----------------&lt;br/&gt;
Also the second example is more confusing ...&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;$q = Doctrine_Query::create()
    -&amp;gt;select(&apos;u.id&apos;)
    -&amp;gt;from(&apos;User u&apos;)
    -&amp;gt;leftJoin(&apos;u.Groups g&apos;)
    -&amp;gt;innerJoin(&apos;u.Phonenumbers p WITH u.id &amp;gt; 3&apos;)
    -&amp;gt;leftJoin(&apos;u.Email e&apos;);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 

&lt;p&gt;Means : Get Users (who HAVE Phonenumbers (innerJoin)) with their potential (leftJoin) Groups, potential (leftJoin) Emails, and their Phonenumbers&lt;br/&gt;
but not for the Users 1, 2 and 3&lt;/p&gt;

&lt;p&gt;Not really the straight forward example we can expect in a documentation&lt;/p&gt;

&lt;p&gt;Best regards&lt;/p&gt;</description>
                <environment></environment>
            <key id="10897">DC-501</key>
            <summary>Join and WITH keywords : documentation is confusing</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="julien.b">Julien B.</reporter>
                        <labels>
                    </labels>
                <created>Mon, 15 Feb 2010 12:26:37 +0000</created>
                <updated>Mon, 15 Feb 2010 12:28:15 +0000</updated>
                                    <version>1.1.6</version>
                                                <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-736] [Documentation] Taking Advantage of Column Aggregation Inheritance</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-736</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;The documentation at &lt;a href=&quot;http://www.doctrine-project.org/projects/orm/1.2/docs/cookbook/taking-advantage-of-column-aggregation-inheritance/en#taking-advantage-of-column-aggregation-inheritance&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/projects/orm/1.2/docs/cookbook/taking-advantage-of-column-aggregation-inheritance/en#taking-advantage-of-column-aggregation-inheritance&lt;/a&gt; states when using foreign keys with column aggregation to set:&lt;/p&gt;

&lt;p&gt;$this-&amp;gt;options(&apos;export&apos;,&apos;tables&apos;);&lt;/p&gt;

&lt;p&gt;this didn&apos;t work for me after looking into it I see it should be attributes so in the base class you can write:&lt;/p&gt;

&lt;p&gt;$this-&amp;gt;setAttribute(Doctrine_Core::ATTR_EXPORT, Doctrine_Core::EXPORT_TABLES);&lt;/p&gt;

&lt;p&gt;or via schema:&lt;/p&gt;

&lt;p&gt;  attributes:&lt;br/&gt;
    export: tables&lt;/p&gt;</description>
                <environment></environment>
            <key id="11493">DC-736</key>
            <summary>[Documentation] Taking Advantage of Column Aggregation Inheritance</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="baxter">Jason Brumwell</reporter>
                        <labels>
                    </labels>
                <created>Mon, 14 Jun 2010 22:03:52 +0000</created>
                <updated>Mon, 14 Jun 2010 22:03:52 +0000</updated>
                                    <version>1.2.2</version>
                                                <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-923] Documentation 1.2 #working-with-models error</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-923</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;In documentation&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/projects/orm/1.2/docs/manual/working-with-models/en#many-to-many-relations:creating-a-new-link&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/projects/orm/1.2/docs/manual/working-with-models/en#many-to-many-relations:creating-a-new-link&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There&apos;s an error in example 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-comment&quot;&gt;// test.php
&lt;/span&gt;
&lt;span class=&quot;code-comment&quot;&gt;// ...
&lt;/span&gt;$user = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; User();
$user-&amp;gt;username = &apos;Some User&apos;;
$user-&amp;gt;Groups[0]-&amp;gt;username = &apos;Some Group&apos;;
$user-&amp;gt;Groups[1]-&amp;gt;username = &apos;Some Other Group&apos;;
$user-&amp;gt;save();
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The error is on lines:&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;$user-&amp;gt;Groups[0]-&amp;gt;username = 
$user-&amp;gt;Groups[1]-&amp;gt;username = 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;they shoud be:&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;$user-&amp;gt;Groups[0]-&amp;gt;name = 
$user-&amp;gt;Groups[1]-&amp;gt;name = 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;as there&apos;s no username column in schema.yml definition of Group object.&lt;/p&gt;</description>
                <environment>Ubuntu 10.4, LAMP</environment>
            <key id="12089">DC-923</key>
            <summary>Documentation 1.2 #working-with-models error</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="martin">Martin Babic</reporter>
                        <labels>
                    </labels>
                <created>Wed, 10 Nov 2010 06:17:30 +0000</created>
                <updated>Wed, 10 Nov 2010 06:27:30 +0000</updated>
                                                                    <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-872] 1.2 Documentation on Aggregate Functions Error</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-872</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;In the documentation for using aggregate values with Doctrine Query (link below), there is a code snippet that shows how to access the value of the aggregate field, which does not work.&lt;/p&gt;

&lt;p&gt;The code snippet is:&lt;/p&gt;

&lt;p&gt;//firstsnippet after header&lt;br/&gt;
$q = Doctrine_Query::create()&lt;br/&gt;
    -&amp;gt;select(&apos;u.id, COUNT(t.id) AS num_threads&apos;)&lt;br/&gt;
    -&amp;gt;from(&apos;User u, u.Threads t&apos;)&lt;br/&gt;
    -&amp;gt;where(&apos;u.id = ?&apos;, 1)&lt;br/&gt;
    -&amp;gt;groupBy(&apos;u.id&apos;);&lt;/p&gt;

&lt;p&gt;//second snippet after header&lt;br/&gt;
$users = $q-&amp;gt;execute();&lt;/p&gt;

&lt;p&gt;//fourth snippet after header&lt;br/&gt;
echo $users-&amp;gt;num_threads . &apos; threads found&apos;;&lt;/p&gt;

&lt;p&gt;The code from the last snippet for accessing the count value, $users-&amp;gt;num_threads, doesn&apos;t seem to work. What does work for me is:&lt;/p&gt;

&lt;p&gt;//access count value&lt;br/&gt;
echo $users&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;-&amp;gt;num_threads&lt;/p&gt;

&lt;p&gt;//My exact code is:&lt;br/&gt;
$query = Doctrine_Query::create()&lt;br/&gt;
		 -&amp;gt;select(&apos;COUNT&lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/star_yellow.gif&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; as batchCount&apos;)&lt;br/&gt;
		 -&amp;gt;from(&apos;Batch&apos;);&lt;br/&gt;
$result = $query-&amp;gt;execute();&lt;/p&gt;

&lt;p&gt;echo $result-&amp;gt;batchCount; //10&lt;br/&gt;
echo $result&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;-&amp;gt;batchCount; //3 (3 is correct, from direct MySQL command line query)&lt;/p&gt;

&lt;p&gt;It&apos;s certainly possible I&apos;m doing something wrong, or that there is a Doctrine_Core attribute I need to set. If there is a Doctrine_Core attribute to set to automatically access aggregate values from the Collection, it would be worth noting at the top of the section. &lt;/p&gt;

&lt;p&gt;Thanks, and thanks for Doctrine (so awesome).&lt;/p&gt;

&lt;p&gt;Link:&lt;br/&gt;
&lt;a href=&quot;http://www.doctrine-project.org/projects/orm/1.2/docs/manual/dql-doctrine-query-language/hu#select-queries:aggregate-values&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/projects/orm/1.2/docs/manual/dql-doctrine-query-language/hu#select-queries:aggregate-values&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="11946">DC-872</key>
            <summary>1.2 Documentation on Aggregate Functions Error</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="isac1984">Isaac Foster</reporter>
                        <labels>
                    </labels>
                <created>Tue, 21 Sep 2010 10:55:55 +0000</created>
                <updated>Tue, 21 Sep 2010 10:55:55 +0000</updated>
                                    <version>1.2.3</version>
                                                <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-868] [Documentation] Column aggregation</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-868</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;The example in the documentation at &lt;a href=&quot;http://www.doctrine-project.org/documentation/manual/1_2/en/inheritance:column-aggregation&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/documentation/manual/1_2/en/inheritance:column-aggregation&lt;/a&gt; suggests that the discriminator (in this case &apos;type&apos;) column does not need to be defined in the parent class &apos;Entity&apos;.&lt;/p&gt;

&lt;p&gt;This did not work for me, I had to declare the discriminator column as shown in the  &apos;Taking advantage of column aggregation inheritance&apos; chapter at &lt;a href=&quot;http://www.doctrine-project.org/projects/orm/1.2/docs/cookbook/taking-advantage-of-column-aggregation-inheritance/en&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/projects/orm/1.2/docs/cookbook/taking-advantage-of-column-aggregation-inheritance/en&lt;/a&gt;. &lt;/p&gt;</description>
                <environment></environment>
            <key id="11928">DC-868</key>
            <summary>[Documentation] Column aggregation</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="metalspawn">Michael Simpson</reporter>
                        <labels>
                    </labels>
                <created>Thu, 16 Sep 2010 02:39:08 +0000</created>
                <updated>Thu, 16 Sep 2010 02:40:45 +0000</updated>
                                    <version>1.2.3</version>
                                                <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-846] Provide documentation for connection options</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-846</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;Provide additional information on connection options.&lt;/p&gt;

&lt;p&gt;$conn = Doctrine_Manager::connection(&apos;mysql://username:password@localhost/test&apos;, &apos;connection 1&apos;); &lt;/p&gt;

&lt;p&gt;just skims the surface. At least link to PDO docs. Also, what is the second parameter? I can look in API docs, but it would be helpful to have in the reference guide. &lt;/p&gt;

&lt;p&gt;Are there any other ways to make a connection, such as through an array of parameters?&lt;/p&gt;</description>
                <environment>All</environment>
            <key id="11846">DC-846</key>
            <summary>Provide documentation for connection options</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="ritty">Ritty</reporter>
                        <labels>
                    </labels>
                <created>Sun, 29 Aug 2010 15:26:57 +0000</created>
                <updated>Sun, 29 Aug 2010 15:26:57 +0000</updated>
                                    <version>1.2.3</version>
                                                <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-1012] Doctrine_core specified twice in documentation Defining Models -&gt; Join Table Associations</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-1012</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;$manager-&amp;gt;setAttribute(Doctrine_Core::Doctrine_Core::ATTR_QUOTE_IDENTIFIER, true);&lt;/p&gt;

&lt;p&gt;should be:&lt;/p&gt;

&lt;p&gt;$manager-&amp;gt;setAttribute(Doctrine_Core::ATTR_QUOTE_IDENTIFIER, true);&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/projects/orm/1.2/docs/manual/defining-models/en#relationships:join-table-associations&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/projects/orm/1.2/docs/manual/defining-models/en#relationships:join-table-associations&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="12759">DC-1012</key>
            <summary>Doctrine_core specified twice in documentation Defining Models -&gt; Join Table Associations</summary>
                <type id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/documentation.png">Documentation</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="gamesh">Justinas</reporter>
                        <labels>
                    </labels>
                <created>Tue, 28 Jun 2011 10:04:44 +0000</created>
                <updated>Tue, 28 Jun 2011 10:04:44 +0000</updated>
                                    <version>1.2.3</version>
                                                <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-1001] Doctrine Caching page does not mention the &quot;prefix&quot; option</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-1001</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/documentation/manual/1_1/en/caching&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/documentation/manual/1_1/en/caching&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When not using a prefix with multiple / yet similay projects a mixup of query caching will occur (for example with sfDoctrineGuard queries). This is very easialy fixed with a prefix - but I only realized after two months - that this feature actually existed. There is no mention of this in the documention.&lt;/p&gt;

&lt;p&gt;A mention of the feature &lt;/p&gt;

&lt;p&gt;$q = Doctrine_Query::create()&lt;br/&gt;
    -&amp;gt;useResultCache(new Doctrine_Cache_Apc(array(&apos;prefix&apos;=&amp;gt;&apos;myproject_&apos;)));&lt;/p&gt;

&lt;p&gt;Would have helped me and I think it will also help others.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12595">DC-1001</key>
            <summary>Doctrine Caching page does not mention the &quot;prefix&quot; option</summary>
                <type id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/documentation.png">Documentation</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="romanb">Roman S. Borschel</assignee>
                                <reporter username="arendvw">Arend van Waart</reporter>
                        <labels>
                    </labels>
                <created>Fri, 29 Apr 2011 19:26:40 +0000</created>
                <updated>Mon, 27 Jun 2011 18:14:37 +0000</updated>
                                    <version>1.2.4</version>
                                                <component>Caching</component>
                <component>Documentation</component>
                        <due></due>
                    <votes>1</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="16083" author="grass" created="Mon, 27 Jun 2011 18:14:37 +0000"  >&lt;p&gt;I concur with Arend - mentioning of &apos;prefix&apos; in the documentation could make this valuable feature much less of a pain to find...&lt;br/&gt;
Still holds true in 1.2. documentation: &lt;a href=&quot;http://www.doctrine-project.org/projects/orm/1.2/docs/manual/caching/en&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/projects/orm/1.2/docs/manual/caching/en&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-995] Doctrine deprecated in favor of Doctrine_Core - phpdoc</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-995</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/projects/orm/1.2/docs/whats-new/en&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/projects/orm/1.2/docs/whats-new/en&lt;/a&gt; clearly states that the Doctrine class is deprecated - e.g. in order to allow for proper autoloading.&lt;br/&gt;
To enable IDEs to perform proper autocomplete and to encourage programmers not to use the Doctrine class anymore, it&apos;s phpdoc block shuld by changed in order to contain a&lt;/p&gt;

&lt;p&gt;@deprecated In favor of Doctrine_Core - this class extends Doctrine_Core for BC&lt;/p&gt;</description>
                <environment>all environments</environment>
            <key id="12540">DC-995</key>
            <summary>Doctrine deprecated in favor of Doctrine_Core - phpdoc</summary>
                <type id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/documentation.png">Documentation</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="grass">Pablo Grass</reporter>
                        <labels>
                    </labels>
                <created>Wed, 6 Apr 2011 13:23:53 +0000</created>
                <updated>Wed, 6 Apr 2011 13:23:53 +0000</updated>
                                    <version>1.2.3</version>
                                                <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-738] Missing reference to make code usable</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-738</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;Web page documentation is missing some details on following page: // ...&lt;br/&gt;
&lt;a href=&quot;http://www.doctrine-project.org/documentation/manual/1_0/pl/connections:get-connection-name&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/documentation/manual/1_0/pl/connections:get-connection-name&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://www.doctrine-project.org/documentation/manual/1_2/pl/connections:get-connection-name&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/documentation/manual/1_2/pl/connections:get-connection-name&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I think they were just taken out of context from a page like:&lt;br/&gt;
&lt;a href=&quot;http://www.doctrine-project.org/projects/orm/1.2/docs/manual/connections/en#get-connection-name&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/projects/orm/1.2/docs/manual/connections/en#get-connection-name&lt;/a&gt;&lt;br/&gt;
where a previous reference to manager .... oops, that page has no previous reference to &apos;$manager&apos; either!!!&lt;/p&gt;

&lt;p&gt;Where does the $manager variable come into this? FWIW, I tried that code to get the connection name in a Symfony/Doctrine CLI Task, and it says, &apos;using object accessor on non object&apos;. I&apos;ll keep working on what it&apos;s supposed to look like, but the last page above, and every page of documentation derived from it should be checked for the relevance and accuracy of the $manager variable.&lt;/p&gt;</description>
                <environment>Doctrine web site</environment>
            <key id="11497">DC-738</key>
            <summary>Missing reference to make code usable</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="gearond">Dennis Gearon</reporter>
                        <labels>
                    </labels>
                <created>Tue, 15 Jun 2010 20:50:10 +0000</created>
                <updated>Thu, 17 Jun 2010 09:24:58 +0000</updated>
                                                                    <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-909] Add Some Info to Doctrine Query order by Method Documentation</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-909</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;This is very minor, but would have saved me a few minutes. On the Doctrine Query documentation page (V1 - &lt;a href=&quot;http://www.doctrine-project.org/projects/orm/1.2/docs/manual/dql-doctrine-query-language/en#order-by-clause&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/projects/orm/1.2/docs/manual/dql-doctrine-query-language/en#order-by-clause&lt;/a&gt;), it would be useful to note that multiple calls to Doctrine_Query::orderBy() do not stack, and that the later calls will over write the previous ones. I&apos;ll propose:&lt;/p&gt;

&lt;p&gt;To sort by multiple columns, you must specify them in one call to Doctrine_Query::orderBy(). If you call orderBy a second time, the column from the first call will not be included in the resulting query. &lt;/p&gt;

&lt;p&gt;&amp;lt;code&amp;gt;&lt;br/&gt;
//works as expected&lt;br/&gt;
//results in ORDER BY id ASC, userName DESC&lt;br/&gt;
$query-&amp;gt;orderBy(&apos;id ASC, userName DESC&apos;);&lt;/p&gt;

&lt;p&gt;//does not work as expected&lt;br/&gt;
//results in ORDER BY userName DESC&lt;br/&gt;
$query-&amp;gt;orderBy(&apos;id ASC&apos;)&lt;br/&gt;
            -&amp;gt;orderBy(&apos;userName DESC&apos;);&lt;br/&gt;
&amp;lt;/code&amp;gt;&lt;/p&gt;</description>
                <environment>n/a</environment>
            <key id="12051">DC-909</key>
            <summary>Add Some Info to Doctrine Query order by Method Documentation</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/trivial.png">Trivial</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="isac1984">Isaac Foster</reporter>
                        <labels>
                    </labels>
                <created>Mon, 1 Nov 2010 14:56:20 +0000</created>
                <updated>Mon, 1 Nov 2010 14:56:20 +0000</updated>
                                    <version>1.2.3</version>
                                                <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-906] Missing retrieval method</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-906</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;This page:&lt;br/&gt;
&lt;a href=&quot;http://www.doctrine-project.org/projects/orm/1.2/docs/manual/getting-started/en#getting-started&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/projects/orm/1.2/docs/manual/getting-started/en#getting-started&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;only lists svn as a way to check out the doctrine source.  It&apos;s also available via git.&lt;/p&gt;</description>
                <environment>online</environment>
            <key id="12045">DC-906</key>
            <summary>Missing retrieval method</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/trivial.png">Trivial</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="cwallenpoole">Christopher W. Allen-Poole</reporter>
                        <labels>
                    </labels>
                <created>Sat, 30 Oct 2010 22:06:15 +0000</created>
                <updated>Sun, 31 Oct 2010 05:19:18 +0000</updated>
                                                                    <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-1039] Return value of function Doctrine_Tree_NestedSet::fetchRoot($id)</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-1039</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;In api documentation about Doctrine_Tree_NestedSet::fetchRoot($id) said - it return void. But this is not true. This function return mixed - bool or model data.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13134">DC-1039</key>
            <summary>Return value of function Doctrine_Tree_NestedSet::fetchRoot($id)</summary>
                <type id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/documentation.png">Documentation</type>
                                <priority id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/trivial.png">Trivial</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="dartanov">Dmitry Artanov</reporter>
                        <labels>
                    </labels>
                <created>Mon, 31 Oct 2011 07:22:13 +0000</created>
                <updated>Mon, 31 Oct 2011 07:22:13 +0000</updated>
                                                                    <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DC-786] phpdoc comment error</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-786</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;in Doctrine/Core.php on line 881&lt;/p&gt;

&lt;p&gt;comment for method generateModelsFromYaml() is:&lt;br/&gt;
881: * Generate a yaml schema file from an existing directory of models&lt;/p&gt;

&lt;p&gt;should be:&lt;br/&gt;
881: * Generates models from a yaml schema file&lt;/p&gt;</description>
                <environment>n/a</environment>
            <key id="11626">DC-786</key>
            <summary>phpdoc comment error</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/trivial.png">Trivial</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="micamou">mike</reporter>
                        <labels>
                    </labels>
                <created>Wed, 14 Jul 2010 15:19:15 +0000</created>
                <updated>Wed, 14 Jul 2010 15:19:15 +0000</updated>
                                    <version>1.2.2</version>
                                                <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>