<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:48:29 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>[CSHARP-4525] Querying a standard view returns an empty response</title>
                <link>https://jira.mongodb.org/browse/CSHARP-4525</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;h4&gt;&lt;a name=&quot;Summary&quot;&gt;&lt;/a&gt;Summary&lt;/h4&gt;

&lt;p&gt;&lt;em&gt;On an Atlas 6.0.4 M10 MongoDB cluster, q&lt;/em&gt;&lt;em&gt;uerying a standard view&lt;/em&gt; &lt;em&gt;by using C# driver 2.19.0 it returns an empty result.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Doing the same query on an Atlas 5.0.14 M0 cluster it returns the expected results. Of course the view on M0 is the same than the one on M10.&lt;/em&gt;&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;Pleaseprovidetheversionofthedriver.Ifapplicable%2CpleaseprovidetheMongoDBserverversionandtopology%28standalone%2Creplicaset%2Corshardedcluster%29.&quot;&gt;&lt;/a&gt;Please provide the version of the driver. If applicable, please provide the MongoDB server version and topology (standalone, replica set, or sharded cluster).&lt;/h4&gt;

&lt;p&gt;C# driver 2.19.0&lt;/p&gt;

&lt;p&gt;Atlas 6.0.4 M10 replica set 3 nodes cluster&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;HowtoReproduce&quot;&gt;&lt;/a&gt;How to Reproduce&lt;/h4&gt;

&lt;p&gt;Please refer to what described in the summary.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2264329">CSHARP-4525</key>
            <summary>Querying a standard view returns an empty response</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="13203">Gone away</resolution>
                                        <assignee username="boris.dogadov@mongodb.com">Boris Dogadov</assignee>
                                    <reporter username="matteo.chiavaroli@aenduo.com">Matteo Chiavaroli</reporter>
                        <labels>
                            <label>query</label>
                            <label>views</label>
                    </labels>
                <created>Tue, 14 Feb 2023 15:38:01 +0000</created>
                <updated>Fri, 27 Oct 2023 19:56:00 +0000</updated>
                            <resolved>Mon, 6 Mar 2023 12:00:43 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5251421" author="dbeng-pm-bot" created="Mon, 6 Mar 2023 12:00:44 +0000"  >&lt;p&gt;There hasn&apos;t been any recent activity on this ticket, so we&apos;re resolving it. Thanks for reaching out! Please feel free to comment on this if you&apos;re able to provide more information.&lt;/p&gt;</comment>
                            <comment id="5208474" author="JIRAUSER1257742" created="Fri, 17 Feb 2023 18:13:55 +0000"  >&lt;p&gt;Thank you for your question &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=matteo.chiavaroli%40aenduo.com&quot; class=&quot;user-hover&quot; rel=&quot;matteo.chiavaroli@aenduo.com&quot;&gt;matteo.chiavaroli@aenduo.com&lt;/a&gt;&#160;&lt;/p&gt;

&lt;p&gt;C# Driver behavior should be not affected by Atlas deployment version, and it should issue similar queries for both deployments.&lt;br/&gt;
As the driver works as expected with different deployment, seems that the problem is not within the driver. To investigate further, I suggest validating those queries in MongoDB Shell against both deployments.&lt;/p&gt;

&lt;p&gt;If the query works as expected in MongoDB Shell but fails in the driver, please provide more information to reproduce the issue: Self contained code and the relevant information of creating the collection and the view.&lt;br/&gt;
Also logs would give us more insights: &lt;a href=&quot;https://www.mongodb.com/docs/drivers/csharp/current/fundamentals/logging/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;configuring logging.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</comment>
                            <comment id="5203082" author="JIRAUSER1272842" created="Thu, 16 Feb 2023 08:27:33 +0000"  >&lt;p&gt;Running the pipeline using directly the Aggregate method of the driver it works but not querying the saved view.&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|i1eeiw:</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>