<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Wed Jun 19 04:34:27 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+DDC+AND+fixVersion+%3D+%222.x%22+AND+resolution+in+(Fixed%2C+%22Won't+Fix%22%2C+Duplicate%2C+Incomplete%2C+%22Cannot+Reproduce%22%2C+Invalid%2C+%22Can't+Fix%22)&tempMax=1000&field=key&field=summary
-->
<!-- If you wish to do custom client-side styling of RSS, uncomment this:
<?xml-stylesheet href="http://www.doctrine-project.org/jira/styles/jiraxml2html.xsl" type="text/xsl"?>
-->
<rss version="0.92">
    <channel>
        <title>Doctrine Project</title>
        <link>http://www.doctrine-project.org/jira/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=project+%3D+DDC+AND+fixVersion+%3D+%222.x%22+AND+resolution+in+%28Fixed%2C+%22Won%27t+Fix%22%2C+Duplicate%2C+Incomplete%2C+%22Cannot+Reproduce%22%2C+Invalid%2C+%22Can%27t+Fix%22%29</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="6" total="6"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DDC-1774] [GH-334] Command fixes</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1774</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of hhamon:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/334&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/334&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;This patch can be backported on all branches.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13624">DDC-1774</key>
            <summary>[GH-334] Command fixes</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 11 Apr 2012 07:10:35 +0000</created>
                <updated>Fri, 4 May 2012 18:02:40 +0000</updated>
                    <resolved>Fri, 4 May 2012 18:01:58 +0000</resolved>
                                            <fixVersion>2.x</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="17840" author="beberlei" created="Wed, 11 Apr 2012 17:38:42 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-334&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/334&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/334&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1598] ProxyFactory makes assumptions on identifier getter code</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1598</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;As of &lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Proxy/ProxyFactory.php#L214&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Proxy/ProxyFactory.php#L214&lt;/a&gt;&lt;br/&gt;
and&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Proxy/ProxyFactory.php#L237&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Proxy/ProxyFactory.php#L237&lt;/a&gt;&lt;br/&gt;
the current ProxyFactory isn&apos;t actually checking if the identifier getter has logic in it.&lt;br/&gt;
Current checks aren&apos;t enough/valid.&lt;/p&gt;

&lt;p&gt;In my opinion the check should be matching following:&lt;/p&gt;

&lt;p&gt;(public|protected)\s+function\s+getFieldname\s*&amp;#40;\s*&amp;#41;\s+&lt;/p&gt;
{\s*\$this\s*-&amp;gt;Fieldname\s*;\s*}

&lt;p&gt;Not really experienced with regex, but currently cannot come up with a more secure check.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13356">DDC-1598</key>
            <summary>ProxyFactory makes assumptions on identifier getter code</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/critical.png">Critical</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="6">Invalid</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="ocramius">Marco Pivetta</reporter>
                        <labels>
                    </labels>
                <created>Fri, 13 Jan 2012 17:28:03 +0000</created>
                <updated>Mon, 16 Jan 2012 09:56:15 +0000</updated>
                    <resolved>Mon, 16 Jan 2012 08:28:11 +0000</resolved>
                            <version>2.0</version>
                <version>2.0.1</version>
                <version>2.0.2</version>
                <version>2.0.3</version>
                <version>2.0.4</version>
                <version>2.0.5</version>
                <version>2.0.6</version>
                <version>2.0.7</version>
                <version>2.1</version>
                <version>2.1.1</version>
                <version>2.1.2</version>
                <version>2.1.3</version>
                <version>2.1.4</version>
                <version>2.1.5</version>
                <version>2.2-BETA1</version>
                <version>2.2-BETA2</version>
                <version>Git Master</version>
                                <fixVersion>2.2</fixVersion>
                <fixVersion>2.3</fixVersion>
                <fixVersion>2.x</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="17247" author="beberlei" created="Sun, 15 Jan 2012 11:19:31 +0000"  >&lt;p&gt;Can you explain why you think this is necessary?&lt;/p&gt;

&lt;p&gt;You are right an id method with logic could exist in 4 lines of code, but for what purpose? &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/smile.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                    <comment id="17250" author="ocramius" created="Sun, 15 Jan 2012 12:40:31 +0000"  >&lt;p&gt;First of all it is a question of concept. Doctrine &lt;b&gt;shouldn&apos;t&lt;/b&gt; assume anything about entities outside of their fields. It already introduces a level of complication when we explain how to clone/serialize objects, which was very confusing.&lt;/p&gt;

&lt;p&gt;Asking for the purpose of an identifier field getter method is in my opinion again an attempt of making assumptions over user&apos;s code...&lt;/p&gt;

&lt;p&gt;What if the user wrote something like:&lt;/p&gt;

&lt;p&gt;public function getIdentifierField1()&lt;br/&gt;
 {&lt;br/&gt;
    return $this-&amp;gt;identifierField1? $this-&amp;gt;_myInitializationStuff() : null;&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;private function _myInitializationStuff() &lt;br/&gt;
{&lt;br/&gt;
    //open files, check stuff, make things difficult for the D2 team &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/biggrin.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;For instance, opening file handlers, sockets, whatever... This is a case that would break the entity because of optimization introduced by the ProxyFactory. (not to mention when getIdentifierField1 does some conversion, like return $this-&amp;gt;identifierField1 + self::OFFSET_REQUIRED_BY_WEBSERVICE;&lt;/p&gt;

&lt;p&gt;I&apos;m not arguing about the validity of this optimization, but that the checks are too lazy.&lt;/p&gt;

&lt;p&gt;I&apos;ve read something about moving the ProxyFactory to common and using code scanner tools, and the check should be about applying the optimization only when the form is&lt;/p&gt;

&lt;p&gt;return $this-&amp;gt;identifierField1;&lt;/p&gt;

&lt;p&gt;That&apos;s why I put the example of the regex. That would probably not be as safe as using some reflection-based tool, but surely more than just checking if the code is &amp;lt;= 4 lines...&lt;/p&gt;</comment>
                    <comment id="17251" author="ocramius" created="Sun, 15 Jan 2012 13:03:58 +0000"  >&lt;p&gt;Also don&apos;t know what stuff like EAccelerator (known in this Jira as of it&apos;s fantastic idea about stripping comments) would make the check of the 4 lines like.&lt;/p&gt;</comment>
                    <comment id="17280" author="beberlei" created="Mon, 16 Jan 2012 08:28:03 +0000"  >&lt;p&gt;This argument is void i just seen&lt;/p&gt;

&lt;p&gt;A method:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function getIdentifierField1()
{
   &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;identifierField1? $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_myInitializationStuff() : &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;;
} 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Will only used when the id is not set anyways.&lt;/p&gt;

&lt;p&gt;In any other case Ids are Immutable and changing them in your code would break a lot more than just this smart proxy method generation.&lt;/p&gt;</comment>
                    <comment id="17283" author="ocramius" created="Mon, 16 Jan 2012 09:28:51 +0000"  >&lt;p&gt;Nope, this code actually works only if the ID &lt;b&gt;is&lt;/b&gt; set &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/smile.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;br/&gt;
I&apos;m not talking about changing IDs, it&apos;s just that getters and setters don&apos;t always reflect the class attributes...&lt;/p&gt;</comment>
                    <comment id="17284" author="ocramius" created="Mon, 16 Jan 2012 09:56:15 +0000"  >&lt;p&gt;As of IRC there&apos;s 3 ways (for now) to get this solved:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Some code scanner/stronger checks (difficult/problems with private methods/slow)&lt;/li&gt;
	&lt;li&gt;Regex (as of description)&lt;/li&gt;
	&lt;li&gt;Adding configuration (per-entity or per-method. Probably too messy)&lt;/li&gt;
	&lt;li&gt;Documenting it as &quot;magic&quot; of proxies and let the users be aware of it&lt;/li&gt;
&lt;/ul&gt;
</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1521] No way reuse parameters in custom function twice</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1521</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;There is custom function:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;class DistanceFunction &lt;span class=&quot;code-keyword&quot;&gt;extends&lt;/span&gt; FunctionNode
{
	&lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $fromLat;
	&lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $fromLng;
	&lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $toLat;
	&lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $toLng;

	&lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function parse(\Doctrine\ORM\Query\Parser $parser)
	{
		$parser-&amp;gt;match(Lexer::T_IDENTIFIER);
		$parser-&amp;gt;match(Lexer::T_OPEN_PARENTHESIS);

		$&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;fromLat = $parser-&amp;gt;ArithmeticPrimary();
		$parser-&amp;gt;match(Lexer::T_COMMA);

		$&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;fromLng = $parser-&amp;gt;ArithmeticPrimary();
		$parser-&amp;gt;match(Lexer::T_COMMA);

		$&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;toLat = $parser-&amp;gt;ArithmeticPrimary();
		$parser-&amp;gt;match(Lexer::T_COMMA);

		$&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;toLng = $parser-&amp;gt;ArithmeticPrimary();

		$parser-&amp;gt;match(Lexer::T_CLOSE_PARENTHESIS);
	}

	&lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function getSql(\Doctrine\ORM\Query\SqlWalker $sqlWalker)
	{
		$fromLat = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;fromLat-&amp;gt;dispatch($sqlWalker);
		$fromLng = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;fromLng-&amp;gt;dispatch($sqlWalker);
		$toLat = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;toLat-&amp;gt;dispatch($sqlWalker);
		$toLng = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;toLng-&amp;gt;dispatch($sqlWalker);

		$earthDiameterInKM = 1.609344 * 3956 * 2;

		$sql = &lt;span class=&quot;code-quote&quot;&gt;&quot;($earthDiameterInKM * ASIN(SQRT(POWER(&quot;&lt;/span&gt; .
			&lt;span class=&quot;code-quote&quot;&gt;&quot;SIN(($fromLat - ABS($toLat)) * PI() / 180 / 2), 2) + &quot;&lt;/span&gt; .
			&lt;span class=&quot;code-quote&quot;&gt;&quot;COS($fromLat * PI() / 180) * COS(ABS($toLat) * PI() / 180) * &quot;&lt;/span&gt; .
			&lt;span class=&quot;code-quote&quot;&gt;&quot;POWER(SIN(($fromLng - $toLng) * PI() / 180 / 2), 2) &quot;&lt;/span&gt; .
			&lt;span class=&quot;code-quote&quot;&gt;&quot;)))&quot;&lt;/span&gt;;

&lt;span class=&quot;code-comment&quot;&gt;//echo $sql;
&lt;/span&gt;
		&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; $sql;
	}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;and the usage of it&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;$em
	-&amp;gt;createQuery(&apos;SELECT DISTANCE(a.latitude, a.longitude, :lat, :lng) FROM Ololo:AbstractArea a WHERE a = 2&apos;)
	-&amp;gt;setParameter(&apos;lat&apos;, 1)
	-&amp;gt;setParameter(&apos;lng&apos;, 2)
	-&amp;gt;getResult();
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;what this function generate:&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;(12733.129728 * ASIN(SQRT(POWER(SIN((t0_.latitude - ABS(?)) * PI() / 180 / 2), 2) + COS(t0_.latitude * PI() / 180) * COS
(ABS(?) * PI() / 180) * POWER(SIN((t0_.longitude - ?) * PI() / 180 / 2), 2) )))
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;and exception raised: &quot;SQLSTATE&lt;span class=&quot;error&quot;&gt;&amp;#91;HY093&amp;#93;&lt;/span&gt;: Invalid parameter number: number of bound variables does not match number of tokens&quot;&lt;/p&gt;


&lt;p&gt;Don&apos;t know, does it affects on master branch (does they support native named parameters?).&lt;/p&gt;</description>
                <environment>sf2</environment>
            <key id="13243">DDC-1521</key>
            <summary>No way reuse parameters in custom function twice</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="6">Invalid</resolution>
                    <security id="10000">All</security>
                        <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="koc">Konstantin</reporter>
                        <labels>
                    </labels>
                <created>Wed, 7 Dec 2011 21:35:20 +0000</created>
                <updated>Mon, 16 Jan 2012 03:20:15 +0000</updated>
                    <resolved>Mon, 16 Jan 2012 03:20:15 +0000</resolved>
                            <version>2.1.1</version>
                                <fixVersion>2.x</fixVersion>
                                <component>DQL</component>
                        <due></due>
                    <votes>1</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="17060" author="guilhermeblanco" created="Tue, 20 Dec 2011 05:06:13 +0000"  >&lt;p&gt;Issue cannot be reproduced on master.&lt;br/&gt;
Marking ticket as &quot;cannot reproduce&quot;.&lt;/p&gt;

&lt;p&gt;Added coverage on this commit: &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/f6eb83705adc9603a87e8d194aa7f29e8ab36ebe&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/f6eb83705adc9603a87e8d194aa7f29e8ab36ebe&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="17061" author="guilhermeblanco" created="Tue, 20 Dec 2011 05:18:19 +0000"  >&lt;p&gt;Ok, it seems this is only reproduceable on MySQL and PgSQL.&lt;/p&gt;

&lt;p&gt;Reopening and trying a fix.&lt;/p&gt;</comment>
                    <comment id="17076" author="guilhermeblanco" created="Tue, 20 Dec 2011 22:22:45 +0000"  >&lt;p&gt;Updating fix version&lt;/p&gt;</comment>
                    <comment id="17270" author="guilhermeblanco" created="Mon, 16 Jan 2012 03:20:15 +0000"  >&lt;p&gt;This issue is invalid.&lt;/p&gt;

&lt;p&gt;Whenever you want to point to an InputParameter, you have to call the dispatch() function.&lt;br/&gt;
Unfortunately, you cannot assign to a variable and reuse it freely. That way, Doctrine would only be notified once about the existence of a parameter, while actually you&apos;d be using in multiple places.&lt;/p&gt;

&lt;p&gt;The funny part is that pdo_sqlite addresses the issue internally, but other drivers don&apos;t. That was why I was unable to verify the issue in the first time.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1505] EntityManager-&gt;find returning null for entity on the inverse side of a OneToOne association </title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1505</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;BasicEntityPersister.getJoinSQLForJoinColumns treats joinColumn nullable setting as defaulting to false:&lt;/p&gt;

&lt;p&gt;             if(isset($joinColumn&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;nullable&amp;#39;&amp;#93;&lt;/span&gt;) &amp;amp;&amp;amp; $joinColumn&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;nullable&amp;#39;&amp;#93;&lt;/span&gt;)&lt;/p&gt;
{
                 return &apos;LEFT JOIN&apos;;
             }&lt;br/&gt;
&lt;br/&gt;
I think it should be:&lt;br/&gt;
&lt;br/&gt;
             if(!isset($joinColumn&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;nullable&amp;#39;&amp;#93;&lt;/span&gt;) || $joinColumn&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;nullable&amp;#39;&amp;#93;&lt;/span&gt;){                 return &apos;LEFT JOIN&apos;;             }</description>
                <environment></environment>
            <key id="13210">DDC-1505</key>
            <summary>EntityManager-&gt;find returning null for entity on the inverse side of a OneToOne association </summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/critical.png">Critical</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="asm89">Alexander</assignee>
                                <reporter username="chrisrichard">Chris Richard</reporter>
                        <labels>
                    </labels>
                <created>Wed, 23 Nov 2011 02:57:57 +0000</created>
                <updated>Sun, 18 Dec 2011 21:19:50 +0000</updated>
                    <resolved>Sun, 18 Dec 2011 21:19:50 +0000</resolved>
                            <version>Git Master</version>
                                <fixVersion>2.x</fixVersion>
                <fixVersion>Git Master</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="17004" author="beberlei" created="Thu, 15 Dec 2011 22:07:43 +0000"  >&lt;p&gt;Assigned to asm&lt;/p&gt;</comment>
                    <comment id="17030" author="beberlei" created="Sun, 18 Dec 2011 20:35:04 +0000"  >&lt;p&gt;This issue is referenced in Github Pull-Request GH-226&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/226&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/226&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="17031" author="asm89" created="Sun, 18 Dec 2011 20:35:14 +0000"  >&lt;p&gt;Should be fixed as soon as this is pulled:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/226&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/226&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="17032" author="beberlei" created="Sun, 18 Dec 2011 21:00:04 +0000"  >&lt;p&gt;Related Pull Request was closed: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/226&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/226&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1265] Evaluate skip operations / loading through events</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1265</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description></description>
                <environment></environment>
            <key id="12809">DDC-1265</key>
            <summary>Evaluate skip operations / loading through events</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="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="3">Duplicate</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 9 Jul 2011 22:22:39 +0000</created>
                <updated>Tue, 6 Sep 2011 18:10:37 +0000</updated>
                    <resolved>Tue, 6 Sep 2011 18:10:37 +0000</resolved>
                                            <fixVersion>2.x</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16442" author="beberlei" created="Tue, 6 Sep 2011 18:10:37 +0000"  >&lt;p&gt;Duplicate of &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-17&quot; title=&quot;Ability to skip the operation from a pre-operation event handler&quot;&gt;DDC-17&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-745] DateTime with SQLite</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-745</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;I was using 2.0.0-Beta3 no problems found.&lt;br/&gt;
Then upgraded to Beta4 and the following:&lt;/p&gt;

&lt;p&gt;Fatal error: Uncaught exception &apos;Doctrine\DBAL\Types\ConversionException&apos; with message &apos;Could not convert database value &quot;2010-08-07 00:00:00.000&quot; to Doctrine Type datetime&apos; in &lt;/p&gt;

&lt;p&gt;I guess it&apos;s an ORM&apos;s problem.&lt;/p&gt;

&lt;p&gt;I&apos;ve traced to:&lt;br/&gt;
call stack:&lt;br/&gt;
Doctrine\DBAL\Types\DateTimeType-&amp;gt;convertToPHPValue()&lt;br/&gt;
Doctrine\ORM\Persisters\BasicEntityPersister-&amp;gt;_processSQLResult()&lt;br/&gt;
Doctrine\ORM\Persisters\BasicEntityPersister-&amp;gt;_createEntity()&lt;br/&gt;
Doctrine\ORM\Persisters\BasicEntityPersister-&amp;gt;load()&lt;br/&gt;
Doctrine\ORM\Persisters\BasicEntityPersister-&amp;gt;findOneBy()&lt;/p&gt;


&lt;p&gt;in Doctrine\DBAL\Types\DateTimeType-&amp;gt;convertToPHPValue() i receive the values:&lt;br/&gt;
$value  = &quot;2010-08-07 00:00:00.000&quot;&lt;br/&gt;
$platform-&amp;gt;getDateTimeFormatString() = &quot;Y-m-d H:i:s&quot;&lt;/p&gt;

&lt;p&gt;I&apos;m new to Doctrine, maybe is my problem but it was working before i&apos;ve upgraded everything.&lt;br/&gt;
I&apos;ll also try to find out what is going on, but just to let you guys know.&lt;/p&gt;

&lt;p&gt;=================0&lt;br/&gt;
System:&lt;br/&gt;
Windows 7 - Portuguese Regional Settings&lt;br/&gt;
XAMPP&lt;br/&gt;
SQLite database&lt;/p&gt;</description>
                <environment>Windows 7 - Portuguese Regional Settings&lt;br/&gt;
XAMPP&lt;br/&gt;
SQLite database</environment>
            <key id="11757">DDC-745</key>
            <summary>DateTime with SQLite</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="6">Invalid</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="darkfly">Rui Lima</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Aug 2010 05:04:24 +0000</created>
                <updated>Fri, 13 Aug 2010 05:19:10 +0000</updated>
                    <resolved>Thu, 12 Aug 2010 09:28:43 +0000</resolved>
                            <version>2.0-ALPHA4</version>
                                <fixVersion>2.x</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="13932" author="darkfly" created="Thu, 12 Aug 2010 09:28:43 +0000"  >&lt;p&gt;I took a closer look to my problem.&lt;br/&gt;
I used and external tool to update the field, and instead of &apos;2010-08-07 00:00:00&apos; the tool inserted &apos;2010-08-07 00:00:00.000&apos;&lt;/p&gt;

&lt;p&gt;So, there is no problem.&lt;br/&gt;
Thanks and sorry.&lt;/p&gt;</comment>
                    <comment id="13938" author="beberlei" created="Thu, 12 Aug 2010 17:01:29 +0000"  >&lt;p&gt;Does sqlite allow microseconds by default?&lt;/p&gt;</comment>
                    <comment id="13941" author="darkfly" created="Fri, 13 Aug 2010 05:19:10 +0000"  >&lt;p&gt;I don&apos;t quite understand you question.&lt;/p&gt;

&lt;p&gt;both of the following works:&lt;br/&gt;
update tb_user set registerdate=&apos;2010-08-07 00:00:00&apos;&lt;br/&gt;
update tb_user set registerdate=&apos;2010-08-07 00:00:00.000&apos;&lt;/p&gt;

&lt;p&gt;And here: &lt;a href=&quot;http://www.sqlite.org/lang_datefunc.html&quot; class=&quot;external-link&quot;&gt;http://www.sqlite.org/lang_datefunc.html&lt;/a&gt;&lt;br/&gt;
we can see that   YYYY-MM-DDTHH:MM:SS.SSS  is one of the supported formats.&lt;/p&gt;

&lt;p&gt;On other hand when i execute:&lt;br/&gt;
select DATETIME(&apos;NOW&apos;)      -&lt;del&gt;//&lt;/del&gt;&amp;gt;2010-08-13 09:14:21&lt;/p&gt;

&lt;p&gt;So i guess the default is with no miliseconds.&lt;/p&gt;

&lt;p&gt;Could we make possible to specify the datetime format in the annotation reference?&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>