<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:42:15 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-2331] Misleading Doc Example Code in Transaction Section</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2331</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;There is a bug in the c# example code of the transaction section:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://docs.mongodb.com/master/core/transactions/?_ga=2.203887700.515816747.1531800617-1973885362.1531800617#retry-transaction-and-commit-operation&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/master/core/transactions/?_ga=2.203887700.515816747.1531800617-1973885362.1531800617#retry-transaction-and-commit-operation&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The example source code is at:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/blob/master/tests/MongoDB.Driver.Examples/TransactionExamplesForDocs/RetryExample3.cs&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/blob/master/tests/MongoDB.Driver.Examples/TransactionExamplesForDocs/RetryExample3.cs&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;At line 88 and line 91, when we&apos;re doing the update and insert operations, we should pass `session` as the first parameter, in order to put them in the transaction and demonstrate how the transaction works. And that is the purpose of this example.&lt;br/&gt;
&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="572235">CSHARP-2331</key>
            <summary>Misleading Doc Example Code in Transaction Section</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="13201">Fixed</resolution>
                                        <assignee username="vincent.kam@mongodb.com">Vincent Kam</assignee>
                                    <reporter username="Jolin">Ru [X]</reporter>
                        <labels>
                    </labels>
                <created>Tue, 17 Jul 2018 04:27:51 +0000</created>
                <updated>Sat, 28 Oct 2023 11:48:58 +0000</updated>
                            <resolved>Tue, 21 Aug 2018 20:08:31 +0000</resolved>
                                                                    <component>Documentation</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1981723" author="vincent.kam" created="Tue, 21 Aug 2018 20:08:15 +0000"  >&lt;p&gt;Thank you for noticing the misleading example and for your pull request!&lt;br/&gt;
We&apos;ve fixed the misleading example code through another pull request (&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/pull/330&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;#330&lt;/a&gt;) came in slightly earlier.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|httgdr:</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>