<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:15:25 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-7726] Cannot export to CSV dates prior 1970</title>
                <link>https://jira.mongodb.org/browse/SERVER-7726</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The exporting to CSV fails when the date is prior 1970&lt;/p&gt;

&lt;p&gt;macmini2:bin intelligenx$ ./mongoexport -d bie -c test --csv -f &quot;_id,birthdate&quot; -o test.csv&lt;br/&gt;
connected to: 127.0.0.1&lt;br/&gt;
Tue Nov 20 13:30:06   Fatal Assertion 16227&lt;br/&gt;
0x100042f9b 0x10003b4f5 0x10059c962 0x10005d7d6 0x10005faa1 0x100562737 0x10005640a 0x1000563c8 &lt;br/&gt;
 0   mongoexport                         0x0000000100042f9b _ZN5mongo15printStackTraceERSo + 43&lt;br/&gt;
 1   mongoexport                         0x000000010003b4f5 _ZN5mongo13fassertFailedEi + 165&lt;br/&gt;
 2   mongoexport                         0x000000010059c962 _ZN5mongo15timeToISOStringEl + 162&lt;br/&gt;
 3   mongoexport                         0x000000010005d7d6 _ZN6Export9csvStringERKN5mongo11BSONElementE + 1318&lt;br/&gt;
 4   mongoexport                         0x000000010005faa1 _ZN6Export3runEv + 3137&lt;br/&gt;
 5   mongoexport                         0x0000000100562737 _ZN5mongo4Tool4mainEiPPc + 5447&lt;br/&gt;
 6   mongoexport                         0x000000010005640a main + 58&lt;br/&gt;
 7   mongoexport                         0x00000001000563c8 start + 52&lt;br/&gt;
Tue Nov 20 13:30:06 &lt;/p&gt;

&lt;p&gt;***aborting after fassert() failure&lt;/p&gt;

&lt;p&gt;In mongo 2.0.2&lt;/p&gt;

&lt;p&gt;Tue Nov 20 13:37:37   Assertion failure strftime(buf, sizeof(buf), fmt, &amp;amp;t) == 20 ./client/../util/net/../../db/../util/../db/../util/concurrency/../time_support.h 61&lt;br/&gt;
0x577426 0x581f6b 0xaa1905 0xaa3171 0xa9c66d 0xaa02d2 0x7f978464376d 0x4fe709 &lt;br/&gt;
 mongoexport(_ZN5mongo12sayDbContextEPKc+0x96) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x577426&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongoexport(_ZN5mongo8assertedEPKcS1_j+0xfb) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x581f6b&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongoexport(_ZN6Export9csvStringERKN5mongo11BSONElementE+0xb65) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xaa1905&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongoexport(_ZN6Export3runEv+0xb51) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xaa3171&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongoexport(_ZN5mongo4Tool4mainEiPPc+0x169d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xa9c66d&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongoexport(main+0x32) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xaa02d2&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f978464376d&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongoexport(__gxx_personality_v0+0x3d1) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x4fe709&amp;#93;&lt;/span&gt;&lt;br/&gt;
assertion: 0 assertion ./client/../util/net/../../db/../util/../db/../util/concurrency/../time_support.h:61&lt;/p&gt;</description>
                <environment>OSX, Linux</environment>
        <key id="57056">SERVER-7726</key>
            <summary>Cannot export to CSV dates prior 1970</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="praffo">Pablo Raffo</reporter>
                        <labels>
                    </labels>
                <created>Tue, 20 Nov 2012 18:38:09 +0000</created>
                <updated>Wed, 21 Nov 2012 14:46:20 +0000</updated>
                            <resolved>Wed, 21 Nov 2012 14:45:54 +0000</resolved>
                                    <version>2.2.1</version>
                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="195729" author="dan@10gen.com" created="Wed, 21 Nov 2012 14:45:54 +0000"  >&lt;p&gt;duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/TOOLS-83&quot; title=&quot;Mongoexport to CSV fails for dates before epoch.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;TOOLS-83&quot;&gt;&lt;del&gt;SERVER-6058&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="40956">TOOLS-83</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 21 Nov 2012 14:45:54 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 13 weeks 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>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 13 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </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>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>praffo</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrngzb:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>34424</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;&amp;gt; db.test.insert({_id:1,birthdate:ISODate(&quot;1963-10-08T00:41:45+0000&quot;)});&lt;br/&gt;
&amp;gt; db.test.find();&lt;/p&gt;
{ &quot;_id&quot; : 1, &quot;birthdate&quot; : ISODate(&quot;1963-10-08T00:41:45Z&quot;) }

&lt;p&gt;./mongoexport -d bie -c test --csv -f &quot;_id,birthdate&quot; -o test.csv&lt;/p&gt;</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|ht071j:</customfieldvalue>

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