<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:04:12 UTC 2024

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 append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-3834] mongoimport from mongoexport file with --jsonArray in 2.0 broken</title>
                <link>https://jira.mongodb.org/browse/SERVER-3834</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;mongoimport from mongoexport file with --jsonArray in 2.0 is broken&lt;/p&gt;

&lt;p&gt;mongoimport only imports 4/10 items in the collection if I use --jsonArray&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Repro&lt;/b&gt;&lt;br/&gt;
MongoDB shell version: 2.0.0&lt;br/&gt;
connecting to: test&lt;br/&gt;
&amp;gt; db.test_collection.insert(&lt;/p&gt;
{a:1}
&lt;p&gt;)&lt;br/&gt;
&amp;gt; db.test_collection.insert(&lt;/p&gt;
{a:2}
&lt;p&gt;)&lt;br/&gt;
&amp;gt; db.test_collection.insert(&lt;/p&gt;
{a:3}
&lt;p&gt;)&lt;br/&gt;
&amp;gt; db.test_collection.insert(&lt;/p&gt;
{a:4}
&lt;p&gt;)&lt;br/&gt;
&amp;gt; db.test_collection.insert(&lt;/p&gt;
{a:5}
&lt;p&gt;)&lt;br/&gt;
&amp;gt; db.test_collection.insert(&lt;/p&gt;
{a:6}
&lt;p&gt;)&lt;br/&gt;
&amp;gt; db.test_collection.insert(&lt;/p&gt;
{a:7}
&lt;p&gt;)&lt;br/&gt;
&amp;gt; db.test_collection.insert(&lt;/p&gt;
{a:8}
&lt;p&gt;)&lt;br/&gt;
&amp;gt; db.test_collection.insert(&lt;/p&gt;
{a:9}
&lt;p&gt;)&lt;br/&gt;
&amp;gt; db.test_collection.insert(&lt;/p&gt;
{a:10}
&lt;p&gt;)&lt;/p&gt;

&lt;p&gt;&amp;gt; mongoexport -d test -c test_collection -o test.json --jsonArray&lt;br/&gt;
connected to: 127.0.0.1&lt;br/&gt;
exported 10 records&lt;/p&gt;

&lt;p&gt;&amp;gt; mongoimport -d test -c test_collection --file test.json --jsonArray&lt;br/&gt;
connected to: 127.0.0.1&lt;br/&gt;
imported 4 objects&lt;/p&gt;</description>
                <environment>Windows 7 64 bit</environment>
        <key id="22202">SERVER-3834</key>
            <summary>mongoimport from mongoexport file with --jsonArray in 2.0 broken</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="spencer@mongodb.com">Spencer Brody</assignee>
                                    <reporter username="kenny.inggs">Kenny Inggs</reporter>
                        <labels>
                    </labels>
                <created>Tue, 13 Sep 2011 18:36:26 +0000</created>
                <updated>Mon, 11 Jul 2016 18:34:59 +0000</updated>
                            <resolved>Tue, 27 Sep 2011 21:32:48 +0000</resolved>
                                    <version>2.0.0</version>
                                    <fixVersion>2.0.1</fixVersion>
                    <fixVersion>2.1.0</fixVersion>
                                    <component>Tools</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="59325" author="auto" created="Sun, 9 Oct 2011 03:37:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;stbrody&apos;, u&apos;name&apos;: u&apos;Spencer T Brody&apos;, u&apos;email&apos;: u&apos;spencer@10gen.com&apos;}
&lt;p&gt;Message: Fix mongoimport on jsonArrays. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3834&quot; title=&quot;mongoimport from mongoexport file with --jsonArray in 2.0 broken&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3834&quot;&gt;&lt;del&gt;SERVER-3834&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: v2.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/0f605b5ab37adaa3caa6bfb2ff3526b8202c94dc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/0f605b5ab37adaa3caa6bfb2ff3526b8202c94dc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="57107" author="auto" created="Tue, 27 Sep 2011 21:16:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;stbrody&apos;, u&apos;name&apos;: u&apos;Spencer T Brody&apos;, u&apos;email&apos;: u&apos;spencer@10gen.com&apos;}
&lt;p&gt;Message: Fix mongoimport on jsonArrays. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3834&quot; title=&quot;mongoimport from mongoexport file with --jsonArray in 2.0 broken&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3834&quot;&gt;&lt;del&gt;SERVER-3834&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e570d7e9dd92b45537c9b59071320f128cd6d4ae&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e570d7e9dd92b45537c9b59071320f128cd6d4ae&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="56384" author="cnharris" created="Sat, 24 Sep 2011 04:55:39 +0000"  >&lt;p&gt;Agreed. With a JSON array of 12 items, only 4 are inserted into the specified collection of the specified DB.  It works as expected in 1.8.3 but not in 2.0&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 24 Sep 2011 04:55:39 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 19 weeks, 3 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 19 weeks, 3 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>cnharris</customfieldvalue>
            <customfieldvalue>kenny.inggs</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hroqyf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrgff3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9407</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10166" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Tests Written</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10154"><![CDATA[Complete]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hszznz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>