<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Sun May 19 19:22:17 UTC 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.doctrine-project.org/jira/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+MODM+AND+resolution+%3D+Unresolved+AND+component+%3D+%22Mapping+Drivers%22+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+MODM+AND+resolution+%3D+Unresolved+AND+component+%3D+%22Mapping+Drivers%22+ORDER+BY+priority+DESC</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="7" total="7"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[MODM-152] Single Collection Inheritance mapping does NOT work if the subclasses are in a different namespace</title>
                <link>http://www.doctrine-project.org/jira/browse/MODM-152</link>
                <project id="10044" key="MODM">Doctrine MongoDB ODM</project>
                        <description>&lt;p&gt;I have described the issue in detail here: &lt;a href=&quot;https://github.com/doctrine/mongodb-odm/issues/124&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/mongodb-odm/issues/124&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="12806">MODM-152</key>
            <summary>Single Collection Inheritance mapping does NOT work if the subclasses are in a different namespace</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="dayson">Dayson Pais</reporter>
                        <labels>
                    </labels>
                <created>Sat, 9 Jul 2011 16:19:34 +0000</created>
                <updated>Sat, 9 Jul 2011 16:19:34 +0000</updated>
                                    <version>1.0.0BETA3</version>
                                                <component>Mapping Drivers</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[MODM-151] Missing Annotation class HasLifecycleCallbacks</title>
                <link>http://www.doctrine-project.org/jira/browse/MODM-151</link>
                <project id="10044" key="MODM">Doctrine MongoDB ODM</project>
                        <description>&lt;p&gt;Annotation class HasLifecycleCallbacks is missing in Doctrine\ODM\MongoDB\Mapping\Annotations&lt;/p&gt;</description>
                <environment>latest MongoDB ODM from git master repository</environment>
            <key id="12799">MODM-151</key>
            <summary>Missing Annotation class HasLifecycleCallbacks</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="adrive">Miloslav &quot;adrive&quot; Kmet</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Jul 2011 13:14:42 +0000</created>
                <updated>Thu, 7 Jul 2011 13:14:42 +0000</updated>
                                                                    <component>Mapping Drivers</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[MODM-150] XSD file for XML mappings is incomplete</title>
                <link>http://www.doctrine-project.org/jira/browse/MODM-150</link>
                <project id="10044" key="MODM">Doctrine MongoDB ODM</project>
                        <description>&lt;p&gt;The XSD file for XML mappings (&lt;a href=&quot;http://www.doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd&lt;/a&gt;) appears to be incomplete:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Only document is allowed as root tag, not mapped-superclass or embedded-document&lt;/li&gt;
	&lt;li&gt;The name attribute for the document tag is not allowed according to the XSD file&lt;/li&gt;
	&lt;li&gt;The fieldName, index and unique attributes for the field tag is not allowed according to the XSD file&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;These are the problems I discovered at the moment, I haven&apos;t yet checked for more problems. The XSD file probably needs a bigger update.&lt;/p&gt;

&lt;p&gt;Attached is a patch file that adds the missing attributes, I haven&apos;t dug into Doctrine enough to create the mapped-superclass or embedded-document tags.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12798">MODM-150</key>
            <summary>XSD file for XML mappings is incomplete</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="a.braun">alcaeus</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Jul 2011 12:40:20 +0000</created>
                <updated>Thu, 7 Jul 2011 12:40:20 +0000</updated>
                                    <version>1.0.0BETA3</version>
                                                <component>Mapping Drivers</component>
                        <due></due>
                    <votes>1</votes>
                        <watches>1</watches>
                                <attachments>
                    <attachment id="11026" name="doctrine-mongo-mapping.xsd.patch" size="1547" author="a.braun" created="Thu, 7 Jul 2011 12:40:20 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[MODM-161] Bug with index definition</title>
                <link>http://www.doctrine-project.org/jira/browse/MODM-161</link>
                <project id="10044" key="MODM">Doctrine MongoDB ODM</project>
                        <description>&lt;p&gt;All is there: &lt;a href=&quot;https://gist.github.com/1682981&quot; class=&quot;external-link&quot;&gt;https://gist.github.com/1682981&lt;/a&gt;&lt;/p&gt;</description>
                <environment>MacOS 10.7.2</environment>
            <key id="13416">MODM-161</key>
            <summary>Bug with index definition</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="_kud">Erwann Mest</reporter>
                        <labels>
                    </labels>
                <created>Mon, 6 Feb 2012 09:06:14 +0000</created>
                <updated>Fri, 15 Jun 2012 08:03:07 +0000</updated>
                                                                    <component>Mapping Drivers</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="18088" author="cordoval" created="Fri, 15 Jun 2012 08:02:42 +0000"  >&lt;p&gt;github link has nothing it was removed&lt;/p&gt;</comment>
                    <comment id="18089" author="cordoval" created="Fri, 15 Jun 2012 08:03:07 +0000"  >&lt;p&gt;gist is a broken link &lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[MODM-158] Doctrine\ODM\MongoDB\Mapping\Type\TimestampType should use MongoDate instead of MongoTimestamp</title>
                <link>http://www.doctrine-project.org/jira/browse/MODM-158</link>
                <project id="10044" key="MODM">Doctrine MongoDB ODM</project>
                        <description>&lt;p&gt;When using the @Timestamp mapping type for a class Doctrine uses MongoTimestamp and it creates very incorrect times in the DB. According to PHP documentation, you should not use MongoTimestamp for creating timestamps, instead MongoDate should be used.&lt;/p&gt;

&lt;p&gt;I&apos;ve attached a patch that changes it to MongoDate and this works splendid when you assign a timestamp to a @Timestamp value&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;	/**
	 * @Field(type=&lt;span class=&quot;code-quote&quot;&gt;&quot;timestamp&quot;&lt;/span&gt;)
	 */
	&lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $created_on;

	/**
	 * @Field(type=&lt;span class=&quot;code-quote&quot;&gt;&quot;timestamp&quot;&lt;/span&gt;)
	 */
	&lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $updated_on;

	&lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function __construct($options = NULL)
	{
		$&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;created_on = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;updated_on = time();
		parent::__construct($options);
	}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


</description>
                <environment>OS 10.7&lt;br/&gt;
&lt;br/&gt;
PHP 5.3.6 with Suhosin-Patch (cli) (built: Sep  8 2011 19:34:00) &lt;br/&gt;
Copyright (c) 1997-2011 The PHP Group&lt;br/&gt;
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;with Xdebug v2.1.2, Copyright (c) 2002-2011, by Derick Rethans</environment>
            <key id="13217">MODM-158</key>
            <summary>Doctrine\ODM\MongoDB\Mapping\Type\TimestampType should use MongoDate instead of MongoTimestamp</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="nvoyageur">Shane A. Stillwell</reporter>
                        <labels>
                    </labels>
                <created>Thu, 24 Nov 2011 18:00:21 +0000</created>
                <updated>Thu, 24 Nov 2011 18:00:21 +0000</updated>
                                    <version>1.0.0BETA3</version>
                                                <component>Mapping Drivers</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                    <attachment id="11117" name="mongodate.patch" size="561" author="nvoyageur" created="Thu, 24 Nov 2011 18:00:21 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[MODM-132] Doctrine\ODM\MongoDB\Mapping\ClassMetaData is loosing &quot;file&quot; property after serialization</title>
                <link>http://www.doctrine-project.org/jira/browse/MODM-132</link>
                <project id="10044" key="MODM">Doctrine MongoDB ODM</project>
                        <description>&lt;p&gt;After ClassMetaData is awakened it looses the &quot;file&quot; property and that breaks our File model.&lt;br/&gt;
File::count() returns 0&lt;/p&gt;

&lt;p&gt;I dumped ClassMetaData object with caching enabled and disabled. Here&apos;s the diff:&lt;/p&gt;

&lt;p&gt;146c146&lt;br/&gt;
&amp;lt;     &lt;span class=&quot;error&quot;&gt;&amp;#91;file&amp;#93;&lt;/span&gt; =&amp;gt; &lt;br/&gt;
&amp;#8212;&lt;br/&gt;
&amp;gt;     &lt;span class=&quot;error&quot;&gt;&amp;#91;file&amp;#93;&lt;/span&gt; =&amp;gt; file&lt;br/&gt;
149a150,180&lt;br/&gt;
&amp;gt;             &lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; =&amp;gt; Array&lt;br/&gt;
&amp;gt;                 (&lt;br/&gt;
&amp;gt;                     &lt;span class=&quot;error&quot;&gt;&amp;#91;keys&amp;#93;&lt;/span&gt; =&amp;gt; Array&lt;br/&gt;
&amp;gt;                         (&lt;br/&gt;
&amp;gt;                             &lt;span class=&quot;error&quot;&gt;&amp;#91;uploaded_at&amp;#93;&lt;/span&gt; =&amp;gt; 1&lt;br/&gt;
&amp;gt;                         )&lt;br/&gt;
&amp;gt;  &lt;br/&gt;
&amp;gt;                     &lt;span class=&quot;error&quot;&gt;&amp;#91;options&amp;#93;&lt;/span&gt; =&amp;gt; Array&lt;br/&gt;
&amp;gt;                         (&lt;br/&gt;
&amp;gt;                             &lt;span class=&quot;error&quot;&gt;&amp;#91;safe&amp;#93;&lt;/span&gt; =&amp;gt; true&lt;br/&gt;
&amp;gt;                             &lt;span class=&quot;error&quot;&gt;&amp;#91;unique&amp;#93;&lt;/span&gt; =&amp;gt; &lt;br/&gt;
&amp;gt;                         )&lt;br/&gt;
&amp;gt;  &lt;br/&gt;
&amp;gt;                 )&lt;br/&gt;
&amp;gt;  &lt;/p&gt;

&lt;p&gt;The first line is the missing file value. The second block appears to be missing indexes but I&apos;m guessing this information should not be serialized.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12475">MODM-132</key>
            <summary>Doctrine\ODM\MongoDB\Mapping\ClassMetaData is loosing &quot;file&quot; property after serialization</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="paradox">Andrei S</reporter>
                        <labels>
                    </labels>
                <created>Fri, 18 Mar 2011 12:40:12 +0000</created>
                <updated>Fri, 18 Mar 2011 12:40:12 +0000</updated>
                                    <version>1.0.0BETA3</version>
                                                <component>Mapping Drivers</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[MODM-168] Can&apos;t Use Custom Repository Class for Embedded Doc When Using YAML Driver</title>
                <link>http://www.doctrine-project.org/jira/browse/MODM-168</link>
                <project id="10044" key="MODM">Doctrine MongoDB ODM</project>
                        <description>&lt;p&gt;When using the Yaml driver the ClassMetadata generation process won&apos;t create and use the indicated custom repository class for an embedded document. From what I can see digging into the actual code, it will work when using the Annotations or XML drivers, but in the Yaml driver the call to setCustomRepositoryClass is inside of a conditional that only gets entered if the document type is &apos;document&apos;.&lt;/p&gt;

&lt;p&gt;I&apos;m not completely sure, but from what I can see elsewhere in the code, it looks like mapped superclasses should also be able to have a custom repository class, but can&apos;t when using the Yaml driver. &lt;/p&gt;

&lt;p&gt;So I reckon what would work would be to change the code as indicated below:&lt;/p&gt;

&lt;p&gt;&amp;lt;&amp;lt;EXISTING CODE&amp;gt;&amp;gt;&lt;br/&gt;
//Doctrine/ODM/MongoDb/Mapping/Driver/YamlDriver.php, line 66&lt;br/&gt;
       if ($element&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;type&amp;#39;&amp;#93;&lt;/span&gt; == &apos;document&apos;) {&lt;br/&gt;
            if (isset($element&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;repositoryClass&amp;#39;&amp;#93;&lt;/span&gt;)) &lt;/p&gt;
{
                $class-&amp;gt;setCustomRepositoryClass($element[&apos;repositoryClass&apos;]);
            }
&lt;p&gt;        } elseif ($element&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;type&amp;#39;&amp;#93;&lt;/span&gt; === &apos;mappedSuperclass&apos;) &lt;/p&gt;
{
            $class-&amp;gt;isMappedSuperclass = true;
        }
&lt;p&gt; elseif ($element&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;type&amp;#39;&amp;#93;&lt;/span&gt; === &apos;embeddedDocument&apos;) &lt;/p&gt;
{
            $class-&amp;gt;isEmbeddedDocument = true;
        }

&lt;p&gt;&amp;lt;&amp;lt;TO THIS&amp;gt;&amp;gt;&lt;br/&gt;
        if (isset($documentAnnot-&amp;gt;repositoryClass)) &lt;/p&gt;
{
            $class-&amp;gt;setCustomRepositoryClass($element[&apos;repositoryClass&apos;]);
        }</description>
                <environment></environment>
            <key id="13896">MODM-168</key>
            <summary>Can&apos;t Use Custom Repository Class for Embedded Doc When Using YAML Driver</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>Sun, 29 Jul 2012 23:42:17 +0000</created>
                <updated>Sun, 29 Jul 2012 23:42:17 +0000</updated>
                                                                    <component>Mapping Drivers</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>