<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Tue May 21 21:20:44 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/si/jira.issueviews:issue-xml/MODM-124/MODM-124.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Doctrine Project</title>
    <link>http://www.doctrine-project.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.7</version>
        <build-number>850</build-number>
        <build-date>21-02-2013</build-date>
    </build-info>

<item>
            <title>[MODM-124] ClassMetadata shouldn&apos;t store defaultDb value</title>
                <link>http://www.doctrine-project.org/jira/browse/MODM-124</link>
                <project id="10044" key="MODM">Doctrine MongoDB ODM</project>
                        <description>&lt;p&gt;Currently if document doesn&apos;t have &quot;db&quot; mapping, it is taken from defaultDb configuration and assigned to classmetadata (in ClassMetadataFactory).&lt;/p&gt;

&lt;p&gt;But if we have two documentManagers with different defaultDb configuration, second manager&apos;s configuration will be ignored, because &quot;db&quot; value is already set in classMetadata (when the 1st manager was created).&lt;/p&gt;

&lt;p&gt;It gets worse with metadata caching, as defaultDb setting is only taken in account when metadata is stored in cache. &lt;/p&gt;

&lt;p&gt;This affects a common use-case, when each customer has his own database and defaultDb is defined at runtime.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12404">MODM-124</key>
            <summary>ClassMetadata shouldn&apos;t store defaultDb value</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="vladar">Vladimir Razuvaev</reporter>
                        <labels>
                    </labels>
                <created>Fri, 18 Feb 2011 07:05:20 +0000</created>
                <updated>Fri, 4 Mar 2011 10:56:01 +0000</updated>
                    <resolved>Fri, 4 Mar 2011 10:56:01 +0000</resolved>
                            <version>1.0.0BETA2</version>
                                <fixVersion>1.0.0BETA3</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15449" author="jwage" created="Fri, 4 Mar 2011 10:56:01 +0000"  >&lt;p&gt;Hi, this is fixed here &lt;a href=&quot;https://github.com/doctrine/mongodb-odm/commit/6b91d944e68bbf94702a38351f03c74b7d6a057a&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/mongodb-odm/commit/6b91d944e68bbf94702a38351f03c74b7d6a057a&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for reporting the issue.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>