<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:59:24 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>[JAVA-3356] Getting no data at all</title>
                <link>https://jira.mongodb.org/browse/JAVA-3356</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;&#160;I am using Java Spring Boot to search BG_event collection in MongoDB Atlas. Example below shows one specific query but other queries also behave the same way.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Here is configuration:&lt;/p&gt;

&lt;p&gt;logging.level.org.springframework: INFO&lt;/p&gt;

&lt;p&gt;logging.level.org.springframework.web: DEBUG&lt;/p&gt;

&lt;p&gt;logging.level.org.springframework.security: DEBUG&lt;/p&gt;

&lt;p&gt;logging.level.org.springframework.data.mongodb.core.MongoTemplate=DEBUG&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;MONGODB (MongoProperties)&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;spring.data.mongodb.uri= mongodb://platformUser:&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;mailto:xyz@platform-mongo-prod-shard-00-00-ebkt8.gcp.mongodb.net&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;font color=&quot;#8c8c8c&quot;&gt;xyz@platform-mongo-prod-shard-00-00-ebkt8.gcp.mongodb.net&lt;/font&gt;&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/mail_small.gif&quot; height=&quot;12&quot; width=&quot;13&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;:27017,platform-mongo-prod-shard-00-01-ebkt8.gcp.mongodb.net:27017,platform-mongo-prod-shard-00-02-ebkt8.gcp.mongodb.net:27017/admin?ssl=true&amp;amp;connectTimeoutMS=10000&amp;amp;authSource=admin&amp;amp;authMechanism=SCRAM-SHA-1&lt;/p&gt;

&lt;p&gt;Here is the query:&lt;/p&gt;

{ &quot;reference1&quot; : &quot;ONEYTPEV36802700&quot;, &quot;reference2&quot; : &quot;0020&quot;, &quot;reference3&quot; : &quot;TLLU5489950&quot;, &quot;reference4&quot; : null, &quot;timestamp&quot; : \{ &quot;$gt&quot; : &quot;2019-07-11 12:20.00&quot;, &quot;$lt&quot; : &quot;2019-07-12 23:00.00&quot; }
&lt;p&gt;, &quot;sourceCategory&quot; : &quot;EDI&quot;, &quot;sourceId&quot; : &quot;ONEY&quot;, &quot;organizationId&quot; : &quot;874b5fcd-4774-11e9-bdf4-42010a732002&quot; }&lt;/p&gt;

&lt;p&gt;This query results with 0 documents retrieved despite the fact I can see the document in Studio 3T and exact query executed from this IDE brings correct document.&lt;/p&gt;

&lt;p&gt;Here is the log from the server when no records are retrieved:&lt;/p&gt;

&lt;p&gt;EDT2019-07-12 09:21:17.563 DEBUG 1 &amp;#8212; &lt;span class=&quot;error&quot;&gt;&amp;#91;nio-5013-exec-3&amp;#93;&lt;/span&gt; o.s.data.mongodb.core.MongoTemplate : find using query: { &quot;reference1&quot; : &quot;ONEYTPEV36802700&quot;, &quot;reference2&quot; : &quot;0020&quot;, &quot;reference3&quot; : &quot;TLLU5489950&quot;, &quot;reference4&quot; : null, &quot;timestamp&quot; : &lt;/p&gt;
{ &quot;$gt&quot; : &quot;2019-07-11 12:20.00&quot;, &quot;$lt&quot; : &quot;2019-07-12 23:00.00&quot; }
&lt;p&gt;, &quot;sourceCategory&quot; : &quot;EDI&quot;, &quot;sourceId&quot; : &quot;ONEY&quot;, &quot;organizationId&quot; : &quot;874b5fcd-4774-11e9-bdf4-42010a732002&quot; } fields: Document{{}} for class: class com.blumeglobal.eventmanager.entity.Event in collection: BG_event&lt;/p&gt;

&lt;p&gt;Expand all | Collapse all&lt;/p&gt;

&lt;p&gt;2019-07-12 09:21:17.567 DEBUG 1 &amp;#8212; &lt;span class=&quot;error&quot;&gt;&amp;#91;nio-5013-exec-3&amp;#93;&lt;/span&gt; m.m.a.RequestResponseBodyMethodProcessor : Using &apos;application/json&apos;, given &lt;span class=&quot;error&quot;&gt;&amp;#91;*/*&amp;#93;&lt;/span&gt; and supported &lt;span class=&quot;error&quot;&gt;&amp;#91;application/json, application/*+json, application/json, application/*+json&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;019-07-12 05:21:17.568 EDT2019-07-12 09:21:17.568 DEBUG 1 &amp;#8212; &lt;span class=&quot;error&quot;&gt;&amp;#91;nio-5013-exec-3&amp;#93;&lt;/span&gt; m.m.a.RequestResponseBodyMethodProcessor : &lt;b&gt;Writing [[]]&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;2019-07-12 05:21:17.569 EDT2019-07-12 09:21:17.569 DEBUG 1 &amp;#8212; &lt;span class=&quot;error&quot;&gt;&amp;#91;nio-5013-exec-3&amp;#93;&lt;/span&gt; o.s.web.servlet.DispatcherServlet : Completed 200 OK&lt;/p&gt;</description>
                <environment>MongoDB 4.0.10, Java 1.8, Spring Boot&lt;br/&gt;
&amp;#39;org.springframework.boot:spring-boot-starter-data-mongodb:2.1.6.RELEASE&amp;#39;</environment>
        <key id="856072">JAVA-3356</key>
            <summary>Getting no data at all</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="13202">Works as Designed</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="marek.mizeracki@blumeglobal.com">Marek Mizeracki</reporter>
                        <labels>
                    </labels>
                <created>Fri, 12 Jul 2019 21:26:27 +0000</created>
                <updated>Fri, 27 Oct 2023 13:21:04 +0000</updated>
                            <resolved>Mon, 15 Jul 2019 12:50:55 +0000</resolved>
                                    <version>3.8.2</version>
                    <version>3.10.2</version>
                                                    <component>Query Operations</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2326782" author="john.meagher" created="Mon, 15 Jul 2019 12:50:55 +0000"  >&lt;p&gt;Customer was able to resolve&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hv39ef:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>